public class RegistryValue extends java.lang.Object implements DCEReadable
Contains the value and type of a registry value.
| Constructor and Description |
|---|
RegistryValue()
Default constructor
|
RegistryValue(java.lang.String name)
Class constructor
|
RegistryValue(java.lang.String name,
int value)
Class constructor
|
RegistryValue(java.lang.String name,
int typ,
byte[] value)
Class constructor
|
RegistryValue(java.lang.String name,
java.lang.String value)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDataType()
Return the registry value type
|
java.lang.String |
getDataTypeString()
Return the registry value type string
|
java.lang.String |
getName()
Return the registry value name
|
byte[] |
getRawValue()
Return the raw registry value
|
java.lang.Object |
getValue()
Return the value as an object, converted using the type
|
void |
readObject(DCEBuffer buf)
Read the registry value information
|
void |
readStrings(DCEBuffer buf)
Read the strings for this object from the DCE/RPC buffer
|
void |
readValue(DCEBuffer buf)
Read the value and type from a DCE buffer
|
java.lang.String |
toString()
Return the registry value as a string
|
public RegistryValue()
public RegistryValue(java.lang.String name)
name - Stringpublic RegistryValue(java.lang.String name,
int typ,
byte[] value)
name - Stringtyp - intvalue - byte[]public RegistryValue(java.lang.String name,
java.lang.String value)
name - Stringvalue - Stringpublic RegistryValue(java.lang.String name,
int value)
name - Stringvalue - intpublic final byte[] getRawValue()
public final java.lang.Object getValue()
public final java.lang.String getName()
public final int getDataType()
public final java.lang.String getDataTypeString()
public void readValue(DCEBuffer buf) throws DCEBufferException
buf - DCEBufferDCEBufferExceptionpublic void readObject(DCEBuffer buf) throws DCEBufferException
readObject in interface DCEReadablebuf - DCEBufferDCEBufferExceptionpublic void readStrings(DCEBuffer buf) throws DCEBufferException
readStrings in interface DCEReadablebuf - DCEBufferDCEBufferExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.