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