Class Registry
java.lang.Object
com.github.robtimus.os.windows.registry.Registry
- Direct Known Subclasses:
LocalRegistry, RemoteRegistry
A representation of a local or remote Windows registry.
- Author:
- Rob Spoor
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteRegistry.ConnectorReturns an object that can be used to connect to the registry on a remote machine.static LocalRegistrylocal()Returns a representation of the local Windows registry.
-
Method Details
-
local
Returns a representation of the local Windows registry.- Returns:
- A representation of the local Windows registry.
-
at
Returns an object that can be used to connect to the registry on a remote machine.- Parameters:
machineName- The machine name. This cannot be an IP address but must be a resolvable host name.- Returns:
- An object that can be used to connect to the registry on the given remote machine.
- Throws:
NullPointerException- If the given machine name isnull.
-