|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RegValueTypes>
org.xvolks.jnative.misc.registry.RegValueTypes
public enum RegValueTypes
The following registry value types are defined in Winnt.h.
Value | Type |
---|---|
REG_BINARY | Binary data in any form. |
REG_DWORD | A 32-bit number. |
REG_DWORD_LITTLE_ENDIAN | A 32-bit number in little-endian format.
Windows is designed to run on little-endian computer architectures. Therefore, this value is defined as REG_DWORD in the Windows header files. |
REG_DWORD_BIG_ENDIAN | A 32-bit number in big-endian format.
Some UNIX systems support big-endian architectures. |
REG_EXPAND_SZ | A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string depending on whether you use the Unicode or ANSI functions. To expand the environment variable references, use the ExpandEnvironmentStrings function. |
REG_LINK | Reserved for system use. |
REG_MULTI_SZ | A sequence of null-terminated strings, terminated by an empty string (\0). The following is an example: String1\0String2\0String3\0LastString\0\0 The first \0 terminates the first string, the second to the last \0 terminates the last string, and the final \0 terminates the sequence. Note that the final terminator must be factored into the length of the string. |
REG_NONE | No defined value type. |
REG_QWORD | A 64-bit number. |
REG_QWORD_LITTLE_ENDIAN | A 64-bit number in little-endian format.
Windows is designed to run on little-endian computer architectures. Therefore, this value is defined as REG_QWORD in the Windows header files. |
REG_SZ | A null-terminated string. This will be either a Unicode or an ANSI string, depending on whether you use the Unicode or ANSI functions. |
Enum Constant Summary | |
---|---|
REG_BINARY
|
|
REG_DWORD
|
|
REG_DWORD_BIG_ENDIAN
|
|
REG_DWORD_LITTLE_ENDIAN
|
|
REG_EXPAND_SZ
Unicode nul terminated string (with environment variable references) |
|
REG_FULL_RESOURCE_DESCRIPTOR
|
|
REG_LINK
|
|
REG_MULTI_SZ
|
|
REG_NONE
No value type |
|
REG_QWORD
|
|
REG_QWORD_LITTLE_ENDIAN
|
|
REG_RESOURCE_LIST
|
|
REG_RESOURCE_REQUIREMENTS_LIST
|
|
REG_SZ
Unicode nul terminated string |
Method Summary | |
---|---|
static RegValueTypes |
fromInt(java.lang.Integer value)
|
int |
getValue()
|
static RegValueTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RegValueTypes[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RegValueTypes REG_NONE
public static final RegValueTypes REG_SZ
public static final RegValueTypes REG_EXPAND_SZ
public static final RegValueTypes REG_BINARY
public static final RegValueTypes REG_DWORD
public static final RegValueTypes REG_DWORD_LITTLE_ENDIAN
public static final RegValueTypes REG_DWORD_BIG_ENDIAN
public static final RegValueTypes REG_LINK
public static final RegValueTypes REG_MULTI_SZ
public static final RegValueTypes REG_RESOURCE_LIST
public static final RegValueTypes REG_FULL_RESOURCE_DESCRIPTOR
public static final RegValueTypes REG_RESOURCE_REQUIREMENTS_LIST
public static final RegValueTypes REG_QWORD
public static final RegValueTypes REG_QWORD_LITTLE_ENDIAN
Method Detail |
---|
public static RegValueTypes[] values()
for(RegValueTypes c : RegValueTypes.values()) System.out.println(c);
public static RegValueTypes 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 namepublic int getValue()
public static RegValueTypes fromInt(java.lang.Integer value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |