|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jsesoft.jse.Root | +--org.jsesoft.jse.jsegl.JseglRoot
Base class of all generated wrapper classes.
Field Summary | |
protected static org.apache.log4j.Logger |
logger
|
protected java.util.ResourceBundle |
messages
|
protected java.util.ResourceBundle |
resources
|
Constructor Summary | |
protected |
JseglRoot()
Default constructor. |
protected |
JseglRoot(int delegate)
Create a subclass instance from inside native code. |
Method Summary | |
static int |
byteArray2Void(byte[] data)
Converts byte array to void *. |
static int |
byteBuffer2Void(java.nio.ByteBuffer data)
Converts byte buffer to void *. |
static void |
destroyVoid(int data,
int size)
Destroys void * data. |
protected int |
get__Delegate()
Returns the __delegate value. |
static java.lang.String |
getResourceMessage(java.lang.String key)
Returns the message specified by key. |
static java.lang.String |
getResourceMessage(java.lang.String key,
java.util.ResourceBundle bundle)
Returns the message specified by key from the specified bundle. |
java.lang.Object |
getResourceObject(java.lang.String key)
Returns the resource object specified by key. |
java.lang.String |
getResourceString(java.lang.String key)
Returns the resource string specified by key. |
protected void |
set__Delegate(int value)
Specifies the __delegate value value. |
void |
setMessageResourceBundle(java.util.ResourceBundle bundle)
Specifies the message resource bundle used. |
void |
setPackageResourceBundle(java.util.ResourceBundle bundle)
Specifies the package resource bundle used. |
static byte[] |
void2ByteArray(int data,
int size)
Converts void * to byte array. |
static java.nio.ByteBuffer |
void2ByteBuffer(int data,
int size)
Converts void * to byte buffer. |
Methods inherited from class org.jsesoft.jse.Root |
decrementNumber, incrementNumber, intFromByteArray, intToByteArray, longFromByteArray, longToByteArray, shortFromByteArray, shortToByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.ResourceBundle messages
protected java.util.ResourceBundle resources
protected static org.apache.log4j.Logger logger
Constructor Detail |
protected JseglRoot(int delegate)
delegate
- a handle to the related delegate instanceprotected JseglRoot()
Method Detail |
protected void set__Delegate(int value)
value
- the new valueget__Delegate()
protected int get__Delegate()
set__Delegate(int)
public static java.lang.String getResourceMessage(java.lang.String key, java.util.ResourceBundle bundle)
bundle
- the resource bundle to usekey
- the key for the message
public static java.lang.String getResourceMessage(java.lang.String key)
key
- the key for the message
public java.lang.String getResourceString(java.lang.String key)
getResourceString
in class Root
key
- the key for the resource string
public java.lang.Object getResourceObject(java.lang.String key)
getResourceObject
in class Root
key
- the key for the resource object
public void setMessageResourceBundle(java.util.ResourceBundle bundle)
setMessageResourceBundle
in class Root
bundle
- the message resource bundle to usepublic void setPackageResourceBundle(java.util.ResourceBundle bundle)
setPackageResourceBundle
in class Root
bundle
- the package resource bundle to usepublic static int byteArray2Void(byte[] data)
data
- the byte array
public static byte[] void2ByteArray(int data, int size)
data
- the void *size
- the size of the data
public static void destroyVoid(int data, int size)
data
- the void *size
- the size of the datapublic static int byteBuffer2Void(java.nio.ByteBuffer data)
data
- the byte buffer
public static java.nio.ByteBuffer void2ByteBuffer(int data, int size)
data
- void *
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |