NativeIntegration
DefaultWindowsRegistry
public interface WindowsRegistry extends NativeIntegration
Modifier and Type | Interface | Description |
---|---|---|
static class |
WindowsRegistry.Key |
Modifier and Type | Method | Description |
---|---|---|
String |
getStringValue(WindowsRegistry.Key key,
String subkey,
String value) |
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.
|
String getStringValue(WindowsRegistry.Key key, String subkey, String value) throws NativeException
NativeException
- On failure.MissingRegistryEntryException
- When the requested key or value does not exist.List<String> getSubkeys(WindowsRegistry.Key key, String subkey) throws NativeException
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.List<String> getValueNames(WindowsRegistry.Key key, String subkey) throws NativeException
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.