JNative v1.3 project : see http://jnative.sf.net


org.xvolks.jnative.misc
Class HKEY

java.lang.Object
  extended by org.xvolks.jnative.misc.basicStructures.AbstractBasicData<java.lang.Integer>
      extended by org.xvolks.jnative.misc.HKEY
All Implemented Interfaces:
BasicData<java.lang.Integer>

public class HKEY
extends AbstractBasicData<java.lang.Integer>

HKEY Handles. $Id: HKEY.java,v 1.2 2006/06/09 20:44:05 mdenty Exp $ This software is released under the LGPL.


Field Summary
static HKEY HKEY_CLASSES_ROOT
           
static HKEY HKEY_CURRENT_CONFIG
           
static HKEY HKEY_CURRENT_USER
           
static HKEY HKEY_DYN_DATA
           
static HKEY HKEY_LOCAL_MACHINE
           
static HKEY HKEY_PERFORMANCE_DATA
           
static HKEY HKEY_PERFORMANCE_NLSTEXT
           
static HKEY HKEY_PERFORMANCE_TEXT
           
static HKEY HKEY_USERS
           
 
Fields inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
mValue, offset, pointer
 
Constructor Summary
HKEY(java.lang.Integer value)
           
 
Method Summary
 Pointer createPointer()
          Method createPointer reserves a native MemoryBlock and copy its value in it
 int getSizeOf()
          Method getSizeOf
 java.lang.Integer getValue()
          Method getValue
 java.lang.Integer getValueFromPointer()
          Method getValueFromPointer gets the value of this data from the native memory block
 
Methods inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
getNextByte, getNextInt, getNextLong, getNextShort, getPointer, getValueAsString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HKEY_CLASSES_ROOT

public static final HKEY HKEY_CLASSES_ROOT

HKEY_CURRENT_USER

public static final HKEY HKEY_CURRENT_USER

HKEY_LOCAL_MACHINE

public static final HKEY HKEY_LOCAL_MACHINE

HKEY_USERS

public static final HKEY HKEY_USERS

HKEY_PERFORMANCE_DATA

public static final HKEY HKEY_PERFORMANCE_DATA

HKEY_PERFORMANCE_TEXT

public static final HKEY HKEY_PERFORMANCE_TEXT

HKEY_PERFORMANCE_NLSTEXT

public static final HKEY HKEY_PERFORMANCE_NLSTEXT

HKEY_CURRENT_CONFIG

public static final HKEY HKEY_CURRENT_CONFIG

HKEY_DYN_DATA

public static final HKEY HKEY_DYN_DATA
Constructor Detail

HKEY

public HKEY(java.lang.Integer value)
Method Detail

getValueFromPointer

public java.lang.Integer getValueFromPointer()
                                      throws NativeException
Description copied from interface: BasicData
Method getValueFromPointer gets the value of this data from the native memory block

Returns:
a T
Throws:
NativeException

getValue

public java.lang.Integer getValue()
Description copied from class: AbstractBasicData
Method getValue

Specified by:
getValue in interface BasicData<java.lang.Integer>
Overrides:
getValue in class AbstractBasicData<java.lang.Integer>
Returns:
a T
Throws:
java.lang.RuntimeException
See Also:
BasicData.getValue()

getSizeOf

public int getSizeOf()
Description copied from interface: BasicData
Method getSizeOf

Returns:
the size of this data

createPointer

public Pointer createPointer()
                      throws NativeException
Description copied from interface: BasicData
Method createPointer reserves a native MemoryBlock and copy its value in it

Returns:
a Pointer on the reserved memory
Throws:
NativeException

JNative v1.3 project : see http://jnative.sf.net