|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.beq.util.win32.registry.RootKey
The Windows operating system defines standard registry keys ("root keys",
represented by RootKey
) that are always open.
RootKey
exposes these predefined keys in a
typesafe
enum that applications may use as entry points to the registry.
The system provides two predefined keys at the root of the registry:
HKEY_LOCAL_MACHINE
, and
HKEY_USERS
In addition, the system defines HKEY_CURRENT_CONFIG
(a
subkey of HKEY_LOCAL_MACHINE
), HKEY_CURRENT_USER
(a subkey of HKEY_USERS
), and HKEY_CLASSES_ROOT
(a
subkey that merges information from HKEY_LOCAL_MACHINE
and
HKEY_CURRENT_USER
). These registry keys are valid for all
Windows implementations of the registry. In addition, other predefined
keys have been defined for specific platforms.
Field Summary | |
static RootKey |
HKEY_CLASSES_ROOT
Registry entries subordinate to this key define types (or classes) of documents and the properties associated with those types. |
static RootKey |
HKEY_CURRENT_CONFIG
Registry entries subordinate to this key contain information about the current hardware profile of the local computer system. |
static RootKey |
HKEY_CURRENT_USER
Registry entries subordinate to this key define the preferences of the current user. |
static RootKey |
HKEY_DYN_DATA
Registry entries subordinate to this key allow you to collect performance data. |
static RootKey |
HKEY_LOCAL_MACHINE
Registry entries subordinate to this key define the physical state of the computer, including data about the bus type, system memory, and installed hardware and software. |
static RootKey |
HKEY_PERFORMANCE_DATA
Registry entries subordinate to this key allow you to access performance data. |
static RootKey |
HKEY_USERS
Registry entries subordinate to this key define the default user configuration for new users on the local computer and the user configuration for the current user. |
Method Summary | |
protected int |
getValue()
Returns the integer value (used by the native Windows registry functions) of the root key. |
String |
toString()
Returns the display name of the root key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final RootKey HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT
, and in-process servers
are registered in this key.public static final RootKey HKEY_CURRENT_USER
public static final RootKey HKEY_LOCAL_MACHINE
public static final RootKey HKEY_USERS
public static final RootKey HKEY_CURRENT_CONFIG
HKEY_CURRENT_CONFIG
describes only the differences
between the current hardware configuration and the standard configuration.public static final RootKey HKEY_PERFORMANCE_DATA
NOTE: HKEY_PERFORMANCE_DATA is defined only for Windows NT 4.0, Windows 2000, and Windows XP operating systems.
public static final RootKey HKEY_DYN_DATA
NOTE: HKEY_DYN_DATA is defined only for Windows 95, Windows 98, and Windows ME operating systems.
Method Detail |
protected int getValue()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |