public enum ValueType extends Enum<ValueType>
An enumeration representing all of the different value types available in the Windows Registry.
Enum Constant and Description |
---|
REG_BINARY
Binary data in any form.
|
REG_DWORD
A 32-bit number.
|
REG_DWORD_BIG_ENDIAN
A 32-bit number in big-endian format.
|
REG_DWORD_LITTLE_ENDIAN
A 32-bit number in little-endian format.
|
REG_EXPAND_SZ
A string value that contains unexpanded references to environment variables.
|
REG_FULL_RESOURCE_DESCRIPTOR
Resource list in the hardware description.
|
REG_LINK
A string that contains the target path of a symbolic
link that was created by calling the RegCreateKeyEx
function with REG_OPTION_CREATE_LINK.
|
REG_MULTI_SZ
An array of string values.
|
REG_NONE
No defined value type.
|
REG_QWORD
A 64-bit number.
|
REG_QWORD_LITTLE_ENDIAN
A 64-bit number in little-endian format.
|
REG_RESOURCE_LIST
Resource list in the resource map.
|
REG_RESOURCE_REQUIREMENTS_LIST |
REG_SZ
A string value.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Used to retrieve the name of the value type.
|
int |
getValue()
Retrieves the
int representing the value
as specified in the Windows API. |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType REG_NONE
public static final ValueType REG_SZ
public static final ValueType REG_EXPAND_SZ
public static final ValueType REG_BINARY
public static final ValueType REG_DWORD
public static final ValueType REG_DWORD_LITTLE_ENDIAN
public static final ValueType REG_DWORD_BIG_ENDIAN
public static final ValueType REG_LINK
public static final ValueType REG_MULTI_SZ
public static final ValueType REG_RESOURCE_LIST
public static final ValueType REG_FULL_RESOURCE_DESCRIPTOR
public static final ValueType REG_RESOURCE_REQUIREMENTS_LIST
public static final ValueType REG_QWORD
public static final ValueType REG_QWORD_LITTLE_ENDIAN
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 nullpublic int getValue()
int
representing the value
as specified in the Windows API.int
which describes the value type.public String getName()
Copyright © 2011, Yinon Michaeli. All rights reserved.