The getStringValue method of the RegKey class contains the following signatures.
getStringValue(String name)
getStringValue(String name,String defval)
Queries a string value from the registry. The name is a subkey of the current key.
public String getStringValue(String name);
Returns the String value contained in the subKey.
name | The subKey containing the requested value. |
Queries a string value from the registry. The name is a subkey of the current key. If the named value does not exist in the registry, the specified default value is returned.
public String getStringValue(String name,String defval);
Returns the default value if the named value does not exist in the registry. Otherwise, the method returns the string value contained in the subkey.
name | The subkey containing the requested string. |
defval | The default value to return. |