Class RegKeyEnumValue
public abstract class RegKeyEnumValue
{
// Fields
public String name;
public final int REGTYPE_BINARY;
public final int REGTYPE_DWORD;
public final int REGTYPE_DWORD_BIG_ENDIAN;
public final int REGTYPE_DWORD_LITTLE_ENDIAN;
public final int REGTYPE_EXPAND_SZ;
public final int REGTYPE_LINK;
public final int REGTYPE_MULTI_SZ;
public final int REGTYPE_NONE;
public final int REGTYPE_RESOURCE_LIST;
public final int REGTYPE_SZ;
public int theType;
public static final int TYPE_BINARY;
public static final int TYPE_DWORD;
public static final int TYPE_EXPAND_STRING;
public static final int TYPE_NONE;
public static final int TYPE_STRING;
// Methods
public String getName();
public int getType();
public boolean isBinary();
public boolean isDword();
public boolean isString();
}
This class is created and returned by the RegKey.enumValue method.
public String getName();
Retrieves the registry name.
Return Value:
Returns the registry value name.
public int getType();
Retrieves the registry type.
Return Value:
Returns the registry value type.
public boolean isBinary();
Determines if the registry value is binary.
Return Value:
Returns true if the registry value is binary, in which case the object is the RegKeyEnumValueByteArray type; otherwise, returns false.
See Also: RegEnumValueByteArray
public boolean isDword();
Determines if the registry value is a double word value.
Return Value:
Returns true if the registry value is a double word value, in which case the object is the RegEnumValueInt type; otherwise, returns false.
See Also: RegEnumValueInt
public boolean isString();
Determines if the registry value is a string.
Return Value:
Returns true if the registry value is a string, in which case the object is the RegKeyEnumValueString type; otherwise, returns false.
See Also: RegEnumValueString
- name
- The registry name.
- REGTYPE_BINARY
- Indicates that the registry type is a binary value.
- REGTYPE_DWORD
- Indicates that the registry type is a double word value.
- REGTYPE_DWORD_BIG_ENDIAN
- Indicates that the registry type is a 32-bit number in big endian format.
- REGTYPE_DWORD_LITTLE_ENDIAN
- Indicates that the registry type is a 32-bit number in little endian format.
- REGTYPE_EXPAND_SZ
- Indicates that the registry type is a string that contains unexpanded references to environment variables (for example "%PATH%").
- REGTYPE_LINK
- Indicates that the registry type is a link.
- REGTYPE_MULTI_SZ
- Indicates that the registry type is an array of null-terminated strings, terminated by two null characters.
- REGTYPE_NONE
- Indicates no defined value type.
- REGTYPE_RESOURCE_LIST
- Indicates that the registry type is a device-driver resource list.
- REGTYPE_SZ
- Indicates that the registry type is a string.
- theType
- The registry type.
- TYPE_BINARY
- Static alias for REGTYPE_BINARY.
- TYPE_DWORD
- Static alias for REGTYPE_DWORD.
- TYPE_EXPAND_STRING
- Static alias for REGTYPE_EXPAND_SZ.
- TYPE_NONE
- Static alias for REGTYPE_NONE.
- TYPE_STRING
- Static alias for REGTYPE_SZ.