Class RemoteRegistry
java.lang.Object
com.github.robtimus.os.windows.registry.Registry
com.github.robtimus.os.windows.registry.RemoteRegistry
- All Implemented Interfaces:
AutoCloseable
A representation of a Windows registry on a remote machine.
- Author:
- Rob Spoor
- Since:
- 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn object that can be used to connect to the registry on a remote machine. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal RegistryKeyThe HKEY_LOCAL_MACHINE root key on the remote machine.final RegistryKeyThe HKEY_USERS root key on the remote machine. -
Method Summary
-
Field Details
-
HKEY_LOCAL_MACHINE
The HKEY_LOCAL_MACHINE root key on the remote machine. -
HKEY_USERS
The HKEY_USERS root key on the remote machine.
-
-
Method Details
-
close
public void close()Closes the connection to the remote registry.- Specified by:
closein interfaceAutoCloseable- Throws:
RegistryException- If the remote registry could not be closed.
-