public final class RegistryEntry extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REGDWORD_TOKEN
Field
REGDWORD_TOKEN |
static String |
REGKEY_TOKEN
Field
REGKEY_TOKEN |
static String |
REGSTR_TOKEN
Field
REGSTR_TOKEN |
static short |
TYPE_ANY
Field
TYPE_ANY |
static short |
TYPE_DWORD
Field
TYPE_DWORD |
static short |
TYPE_KEY
Field
TYPE_KEY |
static short |
TYPE_STRING
Field
TYPE_STRING |
Constructor and Description |
---|
RegistryEntry(short type,
String key,
Object value)
constructor of the class
|
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
short |
getType() |
Object |
getValue() |
static String |
toCFStringType(short type)
cast a short type to a String Type
|
String |
toString() |
static String |
toStringType(short type)
cast a short type to a String Type
|
static short |
toType(String strType)
cast a String type to a short Type
|
public static final short TYPE_STRING
TYPE_STRING
public static final short TYPE_DWORD
TYPE_DWORD
public static final short TYPE_ANY
TYPE_ANY
public static final short TYPE_KEY
TYPE_KEY
public static final String REGSTR_TOKEN
REGSTR_TOKEN
public static final String REGKEY_TOKEN
REGKEY_TOKEN
public static final String REGDWORD_TOKEN
REGDWORD_TOKEN
public RegistryEntry(short type, String key, Object value) throws RegistryException
type
- (RegistryEntry.TYPE_DWORD, RegistryEntry.TYPE_STRING)key
- value
- RegistryException
public short getType()
public static short toType(String strType) throws RegistryException
strType
- RegistryException
public static String toStringType(short type) throws RegistryException
type
- RegistryException
public static String toCFStringType(short type) throws RegistryException
type
- RegistryException
Copyright © 2015 Lucee