public class RegistryValue extends Object implements DCEReadable
Contains the value and type of a registry value.
Constructor and Description |
---|
RegistryValue()
Default constructor
|
RegistryValue(String name)
Class constructor
|
RegistryValue(String name,
int value)
Class constructor
|
RegistryValue(String name,
int typ,
byte[] value)
Class constructor
|
RegistryValue(String name,
String value)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getDataType()
Return the registry value type
|
String |
getDataTypeString()
Return the registry value type string
|
String |
getName()
Return the registry value name
|
byte[] |
getRawValue()
Return the raw registry value
|
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
|
String |
toString()
Return the registry value as a string
|
public RegistryValue()
public RegistryValue(String name)
name
- Stringpublic RegistryValue(String name, int typ, byte[] value)
name
- Stringtyp
- intvalue
- byte[]public RegistryValue(String name, String value)
name
- Stringvalue
- Stringpublic RegistryValue(String name, int value)
name
- Stringvalue
- intpublic final byte[] getRawValue()
public final Object getValue()
public final String getName()
public final int getDataType()
public final String getDataTypeString()
public void readValue(DCEBuffer buf) throws DCEBufferException
buf
- DCEBufferDCEBufferException
public void readObject(DCEBuffer buf) throws DCEBufferException
readObject
in interface DCEReadable
buf
- DCEBufferDCEBufferException
public void readStrings(DCEBuffer buf) throws DCEBufferException
readStrings
in interface DCEReadable
buf
- DCEBufferDCEBufferException
Copyright © 2005–2018 Alfresco Software. All rights reserved.