NativeIntegration, WindowsRegistrypublic 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
WindowsRegistrygetStringValue in interface WindowsRegistryNativeException - On failure.MissingRegistryEntryException - When the requested key or value does not exist.public List<String> getSubkeys(WindowsRegistry.Key key, String subkey) throws NativeException
WindowsRegistrygetSubkeys in interface WindowsRegistryNativeException - On failure.MissingRegistryEntryException - When the requested key does not exist.public List<String> getValueNames(WindowsRegistry.Key key, String subkey) throws NativeException
WindowsRegistrygetValueNames in interface WindowsRegistryNativeException - On failure.MissingRegistryEntryException - When the requested key does not exist.