public static enum Registry.Hive extends Enum<Registry.Hive>
| Enum Constant and Description |
|---|
HKEY_CLASSES_ROOT |
HKEY_CURRENT_CONFIG |
HKEY_CURRENT_USER |
HKEY_LOCAL_MACHINE |
HKEY_USERS |
| Modifier and Type | Method and Description |
|---|---|
static Registry.Hive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Registry.Hive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Registry.Hive HKEY_CLASSES_ROOT
public static final Registry.Hive HKEY_CURRENT_CONFIG
public static final Registry.Hive HKEY_CURRENT_USER
public static final Registry.Hive HKEY_LOCAL_MACHINE
public static final Registry.Hive HKEY_USERS
public static Registry.Hive[] values()
for (Registry.Hive c : Registry.Hive.values()) System.out.println(c);
public static Registry.Hive valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2001–2025. All rights reserved.