Package org.ini4j
Enum Registry.Hive
- java.lang.Object
-
- java.lang.Enum<Registry.Hive>
-
- org.ini4j.Registry.Hive
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Registry.Hive>
- Enclosing interface:
- Registry
public static enum Registry.Hive extends java.lang.Enum<Registry.Hive>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry.Hive
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
HKEY_CLASSES_ROOT
public static final Registry.Hive HKEY_CLASSES_ROOT
-
HKEY_CURRENT_CONFIG
public static final Registry.Hive HKEY_CURRENT_CONFIG
-
HKEY_CURRENT_USER
public static final Registry.Hive HKEY_CURRENT_USER
-
HKEY_LOCAL_MACHINE
public static final Registry.Hive HKEY_LOCAL_MACHINE
-
HKEY_USERS
public static final Registry.Hive HKEY_USERS
-
-
Method Detail
-
values
public static Registry.Hive[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Registry.Hive c : Registry.Hive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Registry.Hive valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-