Package net.rubygrapefruit.platform
Interface WindowsRegistry
-
- All Superinterfaces:
NativeIntegration
- All Known Implementing Classes:
DefaultWindowsRegistry
public interface WindowsRegistry extends NativeIntegration
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WindowsRegistry.Key
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getStringValue(WindowsRegistry.Key key, java.lang.String subkey, java.lang.String value)
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.
-
-
-
Method Detail
-
getStringValue
java.lang.String getStringValue(WindowsRegistry.Key key, java.lang.String subkey, java.lang.String value) throws NativeException
Returns a registry key value as a String.- Throws:
NativeException
- On failure.MissingRegistryEntryException
- When the requested key or value does not exist.
-
getSubkeys
java.util.List<java.lang.String> getSubkeys(WindowsRegistry.Key key, java.lang.String subkey) throws NativeException
Lists the subkeys of a registry key.- Throws:
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.
-
getValueNames
java.util.List<java.lang.String> getValueNames(WindowsRegistry.Key key, java.lang.String subkey) throws NativeException
Lists the value names of a registry key.- Throws:
NativeException
- On failure.MissingRegistryEntryException
- When the requested key does not exist.
-
-