com.ice.jni.registry
Class RegDWordValue

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

public class RegDWordValue
extends RegistryValue

The RegDWordValue class represents a double word, or integer, value in the registry (REG_DWORD).

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
RegDWordValue(RegistryKey key, java.lang.String name)
           
RegDWordValue(RegistryKey key, java.lang.String name, int type)
           
RegDWordValue(RegistryKey key, java.lang.String name, int type, int data)
           
 
Method Summary
 void export(java.io.PrintWriter out)
           
 byte[] getByteData()
           
 int getByteLength()
           
 int getData()
           
 int getLength()
           
 void setByteData(byte[] data)
           
 void setData(int 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

RegDWordValue

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

RegDWordValue

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

RegDWordValue

public RegDWordValue(RegistryKey key,
                     java.lang.String name,
                     int type,
                     int data)
Method Detail

getData

public int getData()

getLength

public int getLength()

setData

public void setData(int 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