Package | Description |
---|---|
com.registry |
Contains all of the classes for reading and writing keys and values to the Windows Registry.
|
com.registry.event |
Contains all of the classes and interfaces necessary for registering for and receiving events
fired by the Windows Registry.
|
Modifier and Type | Field and Description |
---|---|
protected RegistryKey |
RegistryValue.key
The key that contains
this value. |
Modifier and Type | Method and Description |
---|---|
static RegistryKey |
RegistryKey.connect(String machine,
RegistryKey root)
Connects to a remote registry on the computer named by
machine . |
RegistryKey |
RegistryKey.createSubKey(String subKey)
Creates a new subkey under
this . |
RegistryKey |
RegistryKey.createSubKey(String subKey,
boolean nonVolatile)
Creates a new subkey under
this . |
RegistryKey |
RegistryKey.createSubKey(String subKey,
String clazz)
Creates a new subkey under
this with the specified class name. |
RegistryKey |
RegistryKey.createSubKey(String subKey,
String clazz,
boolean nonVolatile)
Creates a new subkey under
this with the specified class name. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target)
Creates a new subkey under
this which will link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target,
boolean nonVolatile)
Creates a new subkey under
this which will link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target,
String clazz)
Creates a new subkey under
this with the specified class name
as a link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target,
String clazz,
boolean nonVolatile)
Creates a new subkey under
this with the specified class name
as a link to another key. |
RegistryKey |
RegistryValue.getKey()
Used to retrieve the registry key that contains
this value. |
RegistryKey |
RegistryKey.getLinkLocation()
|
RegistryKey |
RegistryKey.getParent()
Retrieves the parent
RegistryKey of this . |
RegistryKey |
RegistryKey.getRootKey()
Retrieves the root key for
this . |
static RegistryKey |
RegistryKey.getRootKeyForIndex(int index)
Retrieves the root key based on the HKEY_*_INDEX values.
|
RegistryKey |
RegistryKey.getSubKey(String name)
Retrieves a
RegistryKey which represents the subkey
with a name of name under this . |
static RegistryKey[] |
RegistryKey.listRoots()
Retrieves an array of all the registry root keys.
|
static RegistryKey |
RegistryKey.parseKey(String key)
Tranforms the
String path of a registry key into
a RegistryKey object. |
static RegistryKey |
RegistryKey.parseKey(String key,
boolean create)
Tranforms the
String path of a registry key into
a RegistryKey object. |
static RegistryKey |
RegistryKey.parseKey(String key,
boolean create,
boolean nonVolatile)
Tranforms the
String path of a registry key into
a RegistryKey object. |
Modifier and Type | Method and Description |
---|---|
List<RegistryKey> |
RegistryKey.getSubKeys()
Retrieves a list of
RegistryKey s which represent the subkeys
that are under this . |
List<RegistryKey> |
RegistryKey.getSubKeys(String... subKeys)
Retrieves a list of
RegistryKey s which are specified by the names in subKeys
that are under this . |
Iterator<RegistryKey> |
RegistryKey.subKeysIterator()
|
Modifier and Type | Method and Description |
---|---|
int |
RegistryKey.compareTo(RegistryKey o)
Implements the compareTo method in the interface
Comparable . |
static RegistryKey |
RegistryKey.connect(String machine,
RegistryKey root)
Connects to a remote registry on the computer named by
machine . |
void |
RegistryKey.copy(RegistryKey to)
Deprecated.
|
int |
RegistryKey.copySubKeyValue(String subKey,
RegistryKey dest,
RegistryValue value)
Copies the registry value represented by
value within subKey to
the registry key dest . |
int |
RegistryKey.copySubKeyValues(String subKey,
RegistryKey dest,
RegistryValue... va)
Copies the set of registry values represented by
va within subKey to
the registry key dest . |
int |
RegistryKey.copySubKeyValues(String subKey,
RegistryKey dest,
String... va)
Copies the set of registry values named by
va within subKey to
the registry key dest . |
int |
RegistryKey.copySubTree(String subKey,
RegistryKey dest)
Copies all of the subkeys and values from
subkey
to dest . |
int |
RegistryKey.copySubTree(String subKey,
RegistryKey dest,
boolean copyLinks)
Copies all of the subkeys and values from
subkey
to dest . |
int |
RegistryKey.copyTree(RegistryKey dest)
Copies all of the subkeys and values from
this
to dest . |
int |
RegistryKey.copyTree(RegistryKey dest,
boolean copyLinks)
Copies all of the subkeys and values from
this
to dest . |
int |
RegistryKey.copyValue(RegistryKey dest,
RegistryValue value)
Copies the registry value represented by
value to
the registry key dest . |
int |
RegistryKey.copyValues(RegistryKey dest,
RegistryValue... va)
Copies the set of registry values represented by
va to
the registry key dest . |
int |
RegistryKey.copyValues(RegistryKey dest,
String... va)
Copies the set of registry values named by
va to
the registry key dest . |
int |
RegistryKey.createLink(RegistryKey target)
Creates the key represented by
this in the registry as a link to another key. |
int |
RegistryKey.createLink(RegistryKey target,
boolean nonVolatile)
Creates the key represented by
this in the registry as a link to another key. |
int |
RegistryKey.createLink(RegistryKey target,
String clazz)
Creates the key represented by
this in the registry with the specified class name
as a link to another key. |
int |
RegistryKey.createLink(RegistryKey target,
String clazz,
boolean nonVolatile)
Creates the key represented by
this in the registry with the specified class name
as a link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target)
Creates a new subkey under
this which will link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target,
boolean nonVolatile)
Creates a new subkey under
this which will link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target,
String clazz)
Creates a new subkey under
this with the specified class name
as a link to another key. |
RegistryKey |
RegistryKey.createSubKeyLink(String subKey,
RegistryKey target,
String clazz,
boolean nonVolatile)
Creates a new subkey under
this with the specified class name
as a link to another key. |
static int |
RegistryKey.deleteKeys(RegistryKey... keys)
Deletes a set of registry keys from the registry.
|
static int |
RegistryKey.deleteLinks(RegistryKey... keys)
Deletes a set of symbolic link registry keys from the registry.
|
static boolean |
RegistryExporter.exportKey(File file,
RegistryExporter.Format format,
RegistryKey... keys)
Exports the specified
RegistryKey objects into the file specified. |
static void |
RegistryWatcher.removeKey(RegistryKey key)
Removes
key from the list of watched
keys. |
boolean |
RegistryKey.setLinkTo(RegistryKey target)
If
this represents a symbolic link, then the target for this
will be changed to the key represented by target . |
static int |
RegistryWatcher.watchKey(RegistryKey key)
Adds the specified registry key to the watch list.
|
static int |
RegistryWatcher.watchKey(RegistryKey key,
boolean watchSubtree)
Adds the specified registry key to the watch list.
|
static int |
RegistryWatcher.watchKey(RegistryKey key,
boolean watchSubtree,
int dwNotifyFilter)
Adds the specified registry key to the watch list.
|
Constructor and Description |
---|
RegistryKey(RegistryKey root,
String subKey)
Constructs a new
RegistryKey rooted at root
which goes all the way to subKey . |
RegistryKey(RegistryKey root,
String subKey,
boolean create)
Constructs a new
RegistryKey rooted at root
which goes all the way to subKey . |
RegistryKey(RegistryKey root,
String subKey,
boolean create,
boolean nonVolatile)
Constructs a new
RegistryKey rooted at root
which goes all the way to subKey . |
RegistryKey(RegistryKey root,
String subKey,
boolean create,
String clazz)
Constructs a new
RegistryKey rooted at root
which goes all the way to subKey with a specific class name. |
RegistryKey(RegistryKey root,
String subKey,
boolean create,
String clazz,
boolean nonVolatile)
Constructs a new
RegistryKey rooted at root
which goes all the way to subKey with a specific class name. |
Modifier and Type | Method and Description |
---|---|
RegistryKey |
RegistryEvent.getKey()
Used to retrieve the key that is being watched.
|
Constructor and Description |
---|
RegistryEvent(int id,
RegistryKey key)
Constructs a
new RegistryEvent. |
Copyright © 2011, Yinon Michaeli. All rights reserved.