|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.ZeroTerminatedString
com.jniwrapper.UnicodeString
public class UnicodeString
Represents a Unicode string (wchar_t *
) for Unix platform.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
UnicodeString()
Constructs a string with the maximum length of 256 characters. |
|
UnicodeString(int maxLen)
Constructs a string with a specified maximum length. |
|
UnicodeString(java.lang.String s)
Constructs a string with a specified value. |
|
UnicodeString(java.lang.String s,
int maxLen)
Constructs a string with a specified value and maximum length. |
|
UnicodeString(UnicodeString t)
Constructs a copy of a specified AnsiString object. |
Method Summary | |
---|---|
protected java.lang.String |
bytesToString(byte[] bytes)
|
java.lang.Object |
clone()
|
int |
getAlignmentRequirement()
|
protected int |
getStrLen(DataBuffer dataBuffer,
int startOffset)
|
protected byte[] |
stringToBytes(java.lang.String value)
|
Methods inherited from class com.jniwrapper.ZeroTerminatedString |
---|
asReturnValue, equals, getAlignedLength, getDebugInfo, getFirstMemberSize, getLength, getMaxLength, getValue, hashCode, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
acceptIOPerformer, dataBufferAssigned, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnicodeString()
public UnicodeString(int maxLen)
public UnicodeString(java.lang.String s)
public UnicodeString(java.lang.String s, int maxLen)
public UnicodeString(UnicodeString t)
AnsiString
object.
Method Detail |
---|
protected java.lang.String bytesToString(byte[] bytes)
bytesToString
in class ZeroTerminatedString
protected byte[] stringToBytes(java.lang.String value)
stringToBytes
in class ZeroTerminatedString
public java.lang.Object clone()
clone
in class Parameter
protected int getStrLen(DataBuffer dataBuffer, int startOffset)
getStrLen
in class ZeroTerminatedString
public int getAlignmentRequirement()
getAlignmentRequirement
in class Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |