com.ice.jni.registry
Class RegStringValue

java.lang.Object
  extended by com.ice.jni.registry.RegistryValue
      extended by com.ice.jni.registry.RegStringValue

public class RegStringValue
extends RegistryValue

The RegStringValue class represents a string value in the registry (REG_SZ, and REG_EXPAND_SZ).

See Also:
Registry, RegistryKey

Field Summary
 
Fields inherited from class com.ice.jni.registry.RegistryValue
hexChars, REG_BINARY, REG_DWORD, REG_DWORD_BIG_ENDIAN, REG_DWORD_LITTLE_ENDIAN, REG_EXPAND_SZ, REG_FULL_RESOURCE_DESCRIPTOR, REG_LINK, REG_MULTI_SZ, REG_NONE, REG_RESOURCE_LIST, REG_RESOURCE_REQUIREMENTS_LIST, REG_SZ
 
Constructor Summary
RegStringValue(RegistryKey key, java.lang.String name)
           
RegStringValue(RegistryKey key, java.lang.String name, int type)
           
RegStringValue(RegistryKey key, java.lang.String name, java.lang.String data)
           
 
Method Summary
 void export(java.io.PrintWriter out)
           
 byte[] getByteData()
           
 int getByteLength()
           
 java.lang.String getData()
           
 int getLength()
           
 void setByteData(byte[] data)
           
 void setData(java.lang.String data)
           
 
Methods inherited from class com.ice.jni.registry.RegistryValue
exportHexData, getKey, getName, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegStringValue

public RegStringValue(RegistryKey key,
                      java.lang.String name)

RegStringValue

public RegStringValue(RegistryKey key,
                      java.lang.String name,
                      int type)

RegStringValue

public RegStringValue(RegistryKey key,
                      java.lang.String name,
                      java.lang.String data)
Method Detail

getData

public java.lang.String getData()

getLength

public int getLength()

setData

public void setData(java.lang.String data)

getByteData

public byte[] getByteData()
Specified by:
getByteData in class RegistryValue

getByteLength

public int getByteLength()
Specified by:
getByteLength in class RegistryValue

setByteData

public void setByteData(byte[] data)
Specified by:
setByteData in class RegistryValue

export

public void export(java.io.PrintWriter out)
Overrides:
export in class RegistryValue