public class DefaultWindowsRegistry extends java.lang.Object implements WindowsRegistry
WindowsRegistry.Key
Constructor and Description |
---|
DefaultWindowsRegistry() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStringValue(WindowsRegistry.Key key,
java.lang.String subkey,
java.lang.String valueName)
Returns a registry key value as a String.
|
java.util.List<java.lang.String> |
getSubkeys(WindowsRegistry.Key key,
java.lang.String subkey)
Lists the subkeys of a registry key.
|
java.util.List<java.lang.String> |
getValueNames(WindowsRegistry.Key key,
java.lang.String subkey)
Lists the value names of a registry key.
|
public java.lang.String getStringValue(WindowsRegistry.Key key, java.lang.String subkey, java.lang.String valueName) throws NativeException
WindowsRegistry
getStringValue
in interface WindowsRegistry
NativeException
- On failure.MissingRegistryEntryException
- When the requested key or value does not exist.public java.util.List<java.lang.String> getSubkeys(WindowsRegistry.Key key, java.lang.String subkey) throws NativeException
WindowsRegistry
getSubkeys
in interface WindowsRegistry
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.public java.util.List<java.lang.String> getValueNames(WindowsRegistry.Key key, java.lang.String subkey) throws NativeException
WindowsRegistry
getValueNames
in interface WindowsRegistry
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.