Package net.rubygrapefruit.platform
Interface WindowsRegistry
- All Superinterfaces:
NativeIntegration
- All Known Implementing Classes:
DefaultWindowsRegistry
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetStringValue
(WindowsRegistry.Key key, String subkey, String value) Returns a registry key value as a String.getSubkeys
(WindowsRegistry.Key key, String subkey) Lists the subkeys of a registry key.getValueNames
(WindowsRegistry.Key key, String subkey) Lists the value names of a registry key.
-
Method Details
-
getStringValue
Returns a registry key value as a String.- Throws:
NativeException
- On failure.MissingRegistryEntryException
- When the requested key or value does not exist.
-
getSubkeys
Lists the subkeys of a registry key.- Throws:
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.
-
getValueNames
Lists the value names of a registry key.- Throws:
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.
-