public enum RegistryRoot extends java.lang.Enum<RegistryRoot>
Enum Constant and Description |
---|
HKEY_CLASSES_ROOT
Identifies the root registry key HKEY_CLASSES_ROOT.
|
HKEY_CURRENT_CONFIG
Identifies the root registry key HKEY_CURRENT_CONFIG.
|
HKEY_CURRENT_USER
Identifies the root registry key HKEY_CURRENT_USER.
|
HKEY_LOCAL_MACHINE
Identifies the root registry key HKEY_LOCAL_MACHINE.
|
HKEY_USERS
Identifies the root registry key HKEY_USERS.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static RegistryRoot |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegistryRoot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryRoot HKEY_CLASSES_ROOT
public static final RegistryRoot HKEY_LOCAL_MACHINE
public static final RegistryRoot HKEY_CURRENT_USER
public static final RegistryRoot HKEY_USERS
public static final RegistryRoot HKEY_CURRENT_CONFIG
public static RegistryRoot[] values()
for (RegistryRoot c : RegistryRoot.values()) System.out.println(c);
public static RegistryRoot valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<RegistryRoot>