|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Pointer.Void
com.jniwrapper.ExternalStringPointer
This class is specially designed to read a string, which is created externally and its length is unknown beforehand.
Field Summary |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
ExternalStringPointer()
Creates the pointer to an externally created string. |
|
ExternalStringPointer(boolean unicode)
Creates the pointer to an externally created string. |
|
ExternalStringPointer(long value)
Creates the pointer to an externally created string. |
|
ExternalStringPointer(Pointer.Void value)
Creates the pointer to an externally created string. |
Method Summary | |
boolean |
isUnicodeString()
Checks if the external string is the unicode string. |
java.lang.String |
readString()
Reads the string from the native site. |
Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, clone, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
acceptIOPerformer, asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, setDataBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExternalStringPointer()
public ExternalStringPointer(boolean unicode)
unicode
- specifies if the pointer refers to an unicode string or not.public ExternalStringPointer(Pointer.Void value)
value
- specifies the pointer to the externally created string.public ExternalStringPointer(long value)
value
- specifies the value of the pointer to the externally created string.Method Detail |
public java.lang.String readString()
public boolean isUnicodeString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |