- canDelete() - Method in class com.registry.RegistryKey
-
Tests to see if this
can be deleted.
- canDeleteLink() - Method in class com.registry.RegistryKey
-
Tests to see if this
can be deleted.
- canDeleteTree() - Method in class com.registry.RegistryKey
-
Tests to see if the subtree rooted at this
can be deleted.
- canLoadKey() - Method in class com.registry.RegistryKey
-
Tests to see if this
can load a registry hive.
- canRename() - Method in class com.registry.RegistryKey
-
Tests to see if this
can be renamed.
- canUnLoadKey() - Method in class com.registry.RegistryKey
-
Tests to see if this
can be unloaded from the registry.
- canWrite() - Method in class com.registry.RegistryKey
-
Tests to see if values can be added to this
.
- clone() - Method in class com.registry.RegistryKey
-
Creates a shallow copy of this
.
- clone() - Method in class com.registry.RegistryValue
-
Creates a shallow copy of this
.
- com.registry - package com.registry
-
Contains all of the classes for reading and writing keys and values to the Windows Registry.
- com.registry.event - package com.registry.event
-
Contains all of the classes and interfaces necessary for registering for and receiving events
fired by the Windows Registry.
- compareTo(RegistryKey) - Method in class com.registry.RegistryKey
-
Implements the compareTo method in the interface
Comparable
.
- compareTo(RegistryQuota) - Method in class com.registry.RegistryQuota
-
Compares one RegistryQuota
to another.
- compareTo(RegistryValue) - Method in class com.registry.RegistryValue
-
Implements the compareTo method in the interface
Comparable
.
- compareTo(SystemTime) - Method in class com.registry.SystemTime
-
Compares one SystemTime
to another.
- connect(String, RegistryKey) - Static method in class com.registry.RegistryKey
-
Connects to a remote registry on the computer named by machine
.
- copy(RegistryKey) - Method in class com.registry.RegistryKey
-
Deprecated.
- copySubKeyValue(String, RegistryKey, RegistryValue) - Method in class com.registry.RegistryKey
-
Copies the registry value represented by value
within subKey
to
the registry key dest
.
- copySubKeyValues(String, RegistryKey, String...) - Method in class com.registry.RegistryKey
-
Copies the set of registry values named by va
within subKey
to
the registry key dest
.
- copySubKeyValues(String, RegistryKey, RegistryValue...) - Method in class com.registry.RegistryKey
-
Copies the set of registry values represented by va
within subKey
to
the registry key dest
.
- copySubTree(String, RegistryKey) - Method in class com.registry.RegistryKey
-
Copies all of the subkeys and values from subkey
to dest
.
- copySubTree(String, RegistryKey, boolean) - Method in class com.registry.RegistryKey
-
Copies all of the subkeys and values from subkey
to dest
.
- copyTree(RegistryKey) - Method in class com.registry.RegistryKey
-
Copies all of the subkeys and values from this
to dest
.
- copyTree(RegistryKey, boolean) - Method in class com.registry.RegistryKey
-
Copies all of the subkeys and values from this
to dest
.
- copyValue(RegistryKey, RegistryValue) - Method in class com.registry.RegistryKey
-
Copies the registry value represented by value
to
the registry key dest
.
- copyValues(RegistryKey, String...) - Method in class com.registry.RegistryKey
-
Copies the set of registry values named by va
to
the registry key dest
.
- copyValues(RegistryKey, RegistryValue...) - Method in class com.registry.RegistryKey
-
Copies the set of registry values represented by va
to
the registry key dest
.
- create() - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry.
- create(boolean) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry.
- create(String) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry with the specified class name.
- create(String, boolean) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry with the specified class name.
- created() - Method in class com.registry.RegistryKey
-
Retrieves whether or not this
was created
or if it already existed in the registry.
- createLink(RegistryKey) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry as a link to another key.
- createLink(RegistryKey, boolean) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry as a link to another key.
- createLink(RegistryKey, String) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry with the specified class name
as a link to another key.
- createLink(RegistryKey, String, boolean) - Method in class com.registry.RegistryKey
-
Creates the key represented by this
in the registry with the specified class name
as a link to another key.
- createSubKey(String) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
.
- createSubKey(String, boolean) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
.
- createSubKey(String, String) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
with the specified class name.
- createSubKey(String, String, boolean) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
with the specified class name.
- createSubKeyLink(String, RegistryKey) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
which will link to another key.
- createSubKeyLink(String, RegistryKey, boolean) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
which will link to another key.
- createSubKeyLink(String, RegistryKey, String) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
with the specified class name
as a link to another key.
- createSubKeyLink(String, RegistryKey, String, boolean) - Method in class com.registry.RegistryKey
-
Creates a new subkey under this
with the specified class name
as a link to another key.
- DEFAULT_FILTER - Static variable in class com.registry.RegistryKey
-
Constant for
RegistryWatcher
to notify caller if a subkey is added or deleted
or if a value of the key changed.
- DEFAULT_VALUE_NAME - Static variable in class com.registry.RegistryKey
-
Constant that represents the name of the default value.
- deleteKey() - Method in class com.registry.RegistryKey
-
Deletes this
from the registry.
- deleteKeys(RegistryKey...) - Static method in class com.registry.RegistryKey
-
Deletes a set of registry keys from the registry.
- deleteLink() - Method in class com.registry.RegistryKey
-
Deletes this
symbolic link from the registry.
- deleteLinks(RegistryKey...) - Static method in class com.registry.RegistryKey
-
Deletes a set of symbolic link registry keys from the registry.
- deleteSubKey(String) - Method in class com.registry.RegistryKey
-
Deletes subKey
from this
.
- deleteSubKeys(String...) - Method in class com.registry.RegistryKey
-
Deletes the subKey
s from this
.
- deleteSubKeyValue(String, String) - Method in class com.registry.RegistryKey
-
Deletes a named value from subKey
.
- deleteSubKeyValue(String, RegistryValue) - Method in class com.registry.RegistryKey
-
Deletes a named value represented by value
from subKey
.
- deleteSubKeyValues(String, String...) - Method in class com.registry.RegistryKey
-
Deletes a set of named values within va
from subKey
.
- deleteSubKeyValues(String, RegistryValue...) - Method in class com.registry.RegistryKey
-
Deletes a set of named values represented by va
from subKey
.
- deleteSubTree(String) - Method in class com.registry.RegistryKey
-
Deletes the entire subtree rooted at subKey
from the registry.
This method uses the Windows Vista implementation for deleting a subtree.
- deleteSubTree(String, boolean) - Method in class com.registry.RegistryKey
-
Deletes the entire subtree rooted at subKey
from the registry.
This method uses the Windows Vista implementation for deleting a subtree.
- deleteTree() - Method in class com.registry.RegistryKey
-
Deletes the entire subtree rooted at this
from the registry.
- deleteTree(boolean) - Method in class com.registry.RegistryKey
-
Deletes the entire subtree rooted at this
from the registry.
- deleteValue(String) - Method in class com.registry.RegistryKey
-
Deletes a named value from this
.
- deleteValue(RegistryValue) - Method in class com.registry.RegistryKey
-
Deletes a named value represented by value
from this
.
- deleteValues(String...) - Method in class com.registry.RegistryKey
-
Deletes a set of named values within va
from this
.
- deleteValues(RegistryValue...) - Method in class com.registry.RegistryKey
-
Deletes a set of named values represented by RegistryValues
within va
from this
.
- deleteView64Key(String) - Method in class com.registry.RegistryKey
-
- deleteView64Keys(String...) - Method in class com.registry.RegistryKey
-
- disableReflection() - Method in class com.registry.RegistryKey
-
Disables registry reflection for this
key.
- disableReflectionTree() - Method in class com.registry.RegistryKey
-
Disables registry reflection for this
key and its entire subtree.
- getByteData() - Method in class com.registry.RegistryValue
-
Used to retrieve the byte information of the data from
the registry.
- getByteLength() - Method in class com.registry.RegistryValue
-
Used to retrieve the number of bytes the data takes up
in the registry.
- getClassName() - Method in class com.registry.RegistryKey
-
Retrieves the class name for this
if it is set.
- getCurrentSize() - Method in class com.registry.RegistryQuota
-
Retrieves the current size of the registry in bytes.
- getCurrentUserSid() - Static method in class com.registry.RegistryKey
-
Retrieves the current user's SID in
String
format.
- getDay() - Method in class com.registry.SystemTime
-
Retrieves the day of the month for when the key was last written to.
- getDayOfWeek() - Method in class com.registry.SystemTime
-
Retrieves the day of the week for when the key was last written to.
- getHour() - Method in class com.registry.SystemTime
-
Retrieves the hour for when the key was last written to.
- getID() - Method in class com.registry.event.RegistryEvent
-
Returns the watch id number for the registry
key.
- getIndex() - Method in class com.registry.RegistryKey
-
Retrieves the index of this
under the parent.
- getIntValue() - Method in class com.registry.RegDWORDValue
-
Convenience method to retrieve the data as an int
primitive data type.
- getKey() - Method in class com.registry.event.RegistryEvent
-
Used to retrieve the key that is being watched.
- getKey() - Method in class com.registry.RegistryValue
-
Used to retrieve the registry key that contains this
value.
- getKeyInfo() - Method in class com.registry.RegistryKey
-
Retrieves information about this
.
- getLastError() - Method in class com.registry.RegistryKey
-
Retrieves the error code from the last open operation
on this
.
- getLevel() - Method in class com.registry.RegistryKey
-
Retrieves the level in the registry that this
resides in.
- getLinkLocation() - Method in class com.registry.RegistryKey
-
Retrieves the
RegistryKey
that
this
is linked to
or
null
if
this
is not a link.
- getLongValue() - Method in class com.registry.RegQWORDValue
-
Convenience method to retrieve the data as a long
primitive data type.
- getMaximumSize() - Method in class com.registry.RegistryQuota
-
Retrieves the maximum size allowed for the registry in bytes.
- getMilliseconds() - Method in class com.registry.SystemTime
-
Retrieves the milliseconds for when the key was last written to.
- getMinute() - Method in class com.registry.SystemTime
-
Retrieves the minute for when the key was last written to.
- getMonth() - Method in class com.registry.SystemTime
-
Retrieves the month for when the key was last written to.
- getName() - Method in class com.registry.RegistryKey
-
Used to retrieve the name of this
key.
- getName() - Method in class com.registry.RegistryValue
-
Used to retrieve the name of this
value.
- getName() - Method in enum com.registry.ValueType
-
Used to retrieve the name of the value type.
- getNumberOfSubKeys() - Method in class com.registry.RegistryKey
-
Retrieves the number of subkeys that are under this
.
- getNumberOfValues() - Method in class com.registry.RegistryKey
-
Retrieves the number of values that are in this
.
- getParent() - Method in class com.registry.RegistryKey
-
Retrieves the parent RegistryKey
of this
.
- getPath() - Method in class com.registry.RegistryKey
-
Retrieves the path in the registry which points to this
.
- getRegistryQuota() - Static method in class com.registry.RegistryKey
-
Retrieves the current size of the registry and the maximum size
that the registry is allowed to attain on the system.
- getRootIndex() - Method in class com.registry.RegistryKey
-
- getRootKey() - Method in class com.registry.RegistryKey
-
Retrieves the root key for this
.
- getRootKeyForIndex(int) - Static method in class com.registry.RegistryKey
-
Retrieves the root key based on the HKEY_*_INDEX values.
- getSeconds() - Method in class com.registry.SystemTime
-
Retrieves the seconds for when the key was last written to.
- getSubKey(String) - Method in class com.registry.RegistryKey
-
Retrieves a RegistryKey
which represents the subkey
with a name of name
under this
.
- getSubKeyNames() - Method in class com.registry.RegistryKey
-
Retrieves a sorted array of
String
s which
are the names of the subkeys under
this
.
- getSubKeys() - Method in class com.registry.RegistryKey
-
Retrieves a list of RegistryKey
s which represent the subkeys
that are under this
.
- getSubKeys(String...) - Method in class com.registry.RegistryKey
-
Retrieves a list of RegistryKey
s which are specified by the names in subKeys
that are under this
.
- getSystemTime() - Method in class com.registry.RegistryKey
-
Retrieves the last write time of
this
as
a
SystemTime
object.
- getValue() - Method in class com.registry.RegBinaryValue
-
Retrieves the type specific form of the data for this
value
which is an array of byte
s.
- getValue() - Method in class com.registry.RegDWORDValue
-
Retrieves the type specific form of
this
value
which is an
Integer
.
- getValue(String) - Method in class com.registry.RegistryKey
-
Retrieves a
RegistryValue
which represents the
value with a name of
name
under
this
.
- getValue() - Method in class com.registry.RegMultiStringValue
-
Retrieves the type specific form of
this
value
which is an array of
String
s.
- getValue() - Method in class com.registry.RegQWORDValue
-
Retrieves the type specific form of
this
value
which is a
Long
.
- getValue() - Method in class com.registry.RegStringValue
-
Retrieves the type specific form of
this
value
which is a
String
.
- getValue() - Method in enum com.registry.ValueType
-
Retrieves the int
representing the value
as specified in the Windows API.
- getValueNames() - Method in class com.registry.RegistryKey
-
Retrieves a sorted array of
String
s which
are the names of the values under
this
.
- getValues() - Method in class com.registry.RegistryKey
-
Retrieves a list of
RegistryValue
s which represent the values
that are under
this
.
- getValues(String...) - Method in class com.registry.RegistryKey
-
Retrieves a list of
RegistryValue
s which represent the values
that are named by
va
.
- getValueType(int) - Static method in class com.registry.RegistryKey
-
Convenience method to retrieve the ValueType
object based
on the integer type that is passed in.
- getValueType() - Method in class com.registry.RegistryValue
-
Used to retrieve the type of this
value.
- getValueTypeInt() - Method in class com.registry.RegistryValue
-
Used to retrieve the type of this
value.
- getYear() - Method in class com.registry.SystemTime
-
Retrieves the year for when the key was last written to.
- refreshData() - Method in class com.registry.RegBinaryValue
-
This method is used to update the data for this
value
because the data does not update automatically if it was changed.
- refreshData() - Method in class com.registry.RegDWORDValue
-
This method is used to update the data for this
value
because the data does not update automatically if it was changed.
- refreshData() - Method in class com.registry.RegistryValue
-
This method is used to update the data for this
value
because the data does not update automatically if it was changed.
- refreshData() - Method in class com.registry.RegMultiStringValue
-
This method is used to update the data for this
value
because the data does not update automatically if it was changed.
- refreshData() - Method in class com.registry.RegQWORDValue
-
This method is used to update the data for this
value
because the data does not update automatically if it was changed.
- refreshData() - Method in class com.registry.RegStringValue
-
This method is used to update the data for this
value
because the data does not update automatically if it was changed.
- REG_NOTIFY_CHANGE_ATTRIBUTES - Static variable in class com.registry.RegistryKey
-
Constant for
RegistryWatcher
to notify caller of changes
to the attributes of the key, such as the security descriptor information.
- REG_NOTIFY_CHANGE_LAST_SET - Static variable in class com.registry.RegistryKey
-
Constant for
RegistryWatcher
to notify caller of changes
to a value of the key.
- REG_NOTIFY_CHANGE_NAME - Static variable in class com.registry.RegistryKey
-
Constant for
RegistryWatcher
to notify caller if a subkey is added or deleted.
- REG_NOTIFY_CHANGE_SECURITY - Static variable in class com.registry.RegistryKey
-
Constant for
RegistryWatcher
to notify caller of changes
to the security descriptor of the key.
- RegBinaryValue - Class in com.registry
-
This class represents a named value of type REG_BINARY, REG_NONE, REG_LINK,
REG_RESOURCE_LIST, REG_FULL_RESOURCE_DESCRIPTOR, or REG_RESOURCE_REQUIREMENTS_LIST.
- RegDWORDValue - Class in com.registry
-
This class represents a named value of type REG_DWORD,
REG_DWORD_LITTLE_ENDIAN, or REG_DWORD_BIG_ENDIAN.
- RegistryEvent - Class in com.registry.event
-
This class represents a registry event for
when a registry key changes.
- RegistryEvent(int, RegistryKey) - Constructor for class com.registry.event.RegistryEvent
-
Constructs a new
RegistryEvent.
- RegistryException - Exception in com.registry
-
This exception class is designed to notify
the user for when an error has occurred while
reading or writing registry values.
- RegistryException(String) - Constructor for exception com.registry.RegistryException
-
Constructs a new exception.
- RegistryExporter - Class in com.registry
-
A utility class which provides the ability to save
registry information to either a *.reg or a *.txt
file.
- RegistryExporter.Format - Enum in com.registry
-
Specifies the type of format to use when
saving registry information.
- RegistryKey - Class in com.registry
-
This is an abstract representation of a key in the Windows Registry.
- RegistryKey(String) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at HKEY_CURRENT_USER
which goes all the way to subKey
.
- RegistryKey(String, boolean) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at HKEY_CURRENT_USER
which goes all the way to subKey
.
- RegistryKey(String, boolean, boolean) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at HKEY_CURRENT_USER
which goes all the way to subKey
.
- RegistryKey(String, boolean, String) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at HKEY_CURRENT_USER
which goes all the way to subKey
with a specific class name.
- RegistryKey(String, boolean, String, boolean) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at HKEY_CURRENT_USER
which goes all the way to subKey
with a specific class name.
- RegistryKey(RegistryKey, String) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at root
which goes all the way to subKey
.
- RegistryKey(RegistryKey, String, boolean) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at root
which goes all the way to subKey
.
- RegistryKey(RegistryKey, String, boolean, boolean) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at root
which goes all the way to subKey
.
- RegistryKey(RegistryKey, String, boolean, String) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at root
which goes all the way to subKey
with a specific class name.
- RegistryKey(RegistryKey, String, boolean, String, boolean) - Constructor for class com.registry.RegistryKey
-
Constructs a new RegistryKey
rooted at root
which goes all the way to subKey
with a specific class name.
- RegistryListener - Interface in com.registry.event
-
This listener class is designed to listen for
changes within the registry.
- RegistryQuota - Class in com.registry
-
A class which contains the size limits of the system registry.
- RegistryValue - Class in com.registry
-
This class represents a named value that is found in the registry.
- RegistryWatcher - Class in com.registry
-
This class provides the functionality to watch
for registry key changes.
- RegMultiStringValue - Class in com.registry
-
This class represents a named value of type REG_MULTI_SZ.
- RegQWORDValue - Class in com.registry
-
This class represents a named value of type REG_QWORD or REG_QWORD_LITTLE_ENDIAN.
- RegStringValue - Class in com.registry
-
This class represents a named value of type REG_SZ or REG_EXPAND_SZ.
- removeID(int) - Static method in class com.registry.RegistryWatcher
-
Removes the registry key with the corresponding watch id
from the list of watched keys.
- removeKey(RegistryKey) - Static method in class com.registry.RegistryWatcher
-
Removes key
from the list of watched
keys.
- removeRegistryListener(RegistryListener) - Static method in class com.registry.RegistryWatcher
-
Unregisters the listener so that it will not longer receive
registry key changes.
- renameKey(String) - Method in class com.registry.RegistryKey
-
Renames this
to newKeyName
.
- renameValue(String, String) - Method in class com.registry.RegistryKey
-
Renames the value specified by the name old
to newValueName
.
- renameValue(RegistryValue, String) - Method in class com.registry.RegistryKey
-
Renames the value specified by old
to newValueName
.
- replaceKey(File, File) - Method in class com.registry.RegistryKey
-
Replaces the file backing this
key and all the subkeys with another file,
so that when the system is next started, the key and subkeys will have the values
stored in the new file.
- replaceSubKey(String, File, File) - Method in class com.registry.RegistryKey
-
Replaces the file backing the subkey of this
key and all its subkeys with another file,
so that when the system is next started, the key and subkeys will have the values
stored in the new file.
- restoreKey(File) - Method in class com.registry.RegistryKey
-
Reads the registry information in a specified file and copies it
over this
key.
- restoreKey(File, boolean) - Method in class com.registry.RegistryKey
-
Reads the registry information in a specified file and copies it
over this
key.
- saveKey(File) - Method in class com.registry.RegistryKey
-
Saves this
and all subkeys and values to a new file, in the standard format.
- saveKey(boolean, boolean, File) - Method in class com.registry.RegistryKey
-
Saves this
and all subkeys and values to a new file, in the specified format.
- searchBinaryValue(int, byte[]) - Method in class com.registry.RegistryKey
-
Allows this
key's binary values (REG_NONE, REG_BINARY, etc.)
to be searched for a particular value.
- searchIntegerValue(int, long) - Method in class com.registry.RegistryKey
-
Allows this
key's integer values (REG_DWORD and REG_QWORD, etc.)
to be searched for a particular value.
- searchStringValue(int, String) - Method in class com.registry.RegistryKey
-
Allows this
key's string values (REG_SZ, REG_EXPAND_SZ and REG_MULTI_SZ)
to be searched for a particular value.
- searchStringValue(int, boolean, boolean, boolean, String) - Method in class com.registry.RegistryKey
-
Allows this
key's string values (REG_SZ, REG_EXPAND_SZ and REG_MULTI_SZ)
to be searched for a particular value.
- setByteData(byte...) - Method in class com.registry.RegistryValue
-
Used to change the bytes of the data for this
value.
- setIntValue(int) - Method in class com.registry.RegDWORDValue
-
Convenience method to set the data using an int
primitive data type.
- setLinkTo(RegistryKey) - Method in class com.registry.RegistryKey
-
If this
represents a symbolic link, then the target for this
will be changed to the key represented by target
.
- setLongValue(long) - Method in class com.registry.RegQWORDValue
-
Convenience method to set the data using a long
primitive data type.
- setValue(byte...) - Method in class com.registry.RegBinaryValue
-
Used to set the data of this
value.
- setValue(Integer) - Method in class com.registry.RegDWORDValue
-
Used to set the data of this
value.
- setValue(String...) - Method in class com.registry.RegMultiStringValue
-
Used to set the data of this
value.
- setValue(Long) - Method in class com.registry.RegQWORDValue
-
Used to set the data of this
value.
- setValue(String) - Method in class com.registry.RegStringValue
-
Used to set the data of this
value.
- setValueType(ValueType) - Method in class com.registry.RegistryValue
-
Used to change the type of this
value.
- setValueTypeInt(int) - Method in class com.registry.RegistryValue
-
Used to change the type of this
value.
- subKeyNamesIterator() - Method in class com.registry.RegistryKey
-
Retrieves an
Iterator
of
String
s which represent the names of the subkeys
that are under
this
.
- subKeysIterator() - Method in class com.registry.RegistryKey
-
Retrieves an
Iterator
of
RegistryKey
s which represent the subkeys
that are under
this
.
- SystemTime - Class in com.registry
-
A class which represents the last write time for a registry key.