|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for various "sendable" and "storable" data types. These are intended for use when data needs to be communicated to and from both Java and non-Java code.
Field Summary | |
---|---|
static int |
BOOLEAN_ARRAY_TYPE
Standard DataValue type - TWGBooleanArray |
static int |
BOOLEAN_TYPE
Standard DataValue type - TWGBoolean |
static int |
BYTE_ARRAY_TYPE
Standard DataValue type - TWGByteArray |
static int |
BYTE_TYPE
Standard DataValue type - TWGByte |
static int |
DATE_TYPE
Standard DataValue type - TWGDate |
static int |
DOUBLE_ARRAY_TYPE
Standard DataValue type - TWGDoubleArray |
static int |
DOUBLE_TYPE
Standard DataValue type - TWGDouble |
static int |
FLOAT_ARRAY_TYPE
Standard DataValue type - TWGFloatArray |
static int |
FLOAT_TYPE
Standard DataValue type - TWGFloat |
static int |
FORMATTED_STRING_TYPE
Standard DataValue type - TWGFormattedString (as of V2.11) |
static int |
INTEGER_ARRAY_TYPE
Standard DataValue type - TWGIntegerArray |
static int |
INTEGER_TYPE
Standard DataValue type - TWGInteger |
static int |
LOCALESPECSTRING_TYPE
Standard DataValue type - TWGLocaleSpecificString (as of V2.11) |
static int |
LONG_ARRAY_TYPE
Standard DataValue type - TWGLongArray |
static int |
LONG_TYPE
Standard DataValue type - TWGLong |
static int |
NLSSTRING_TYPE
Standard DataValue type - TWGNLSString |
static int |
NONE_TYPE
Standard DataValue type - none |
static int |
SHORT_ARRAY_TYPE
Standard DataValue type - TWGShortArray |
static int |
SHORT_TYPE
Standard DataValue type - TWGShort |
static int |
STRING_ARRAY_TYPE
Standard DataValue type - TWGStringArray |
static int |
STRING_TYPE
Standard DataValue type - TWGString |
Method Summary | |
---|---|
int |
getDataValueType()
Get DataValue type |
int |
readDataValue(byte[] buf,
int start)
Read value from byte array into object |
java.lang.String |
toNLSString(java.util.Locale loc)
Get NLS-specific string representation |
int |
writeDataValue(byte[] buf,
int start)
Write value into byte array : used for sending data value |
int |
writeDataValueLength()
Get length needed to write value into byte array : used for sending data value |
Field Detail |
public static final int STRING_TYPE
public static final int STRING_ARRAY_TYPE
public static final int LONG_TYPE
public static final int LONG_ARRAY_TYPE
public static final int INTEGER_TYPE
public static final int INTEGER_ARRAY_TYPE
public static final int SHORT_TYPE
public static final int SHORT_ARRAY_TYPE
public static final int BYTE_TYPE
public static final int BYTE_ARRAY_TYPE
public static final int BOOLEAN_TYPE
public static final int BOOLEAN_ARRAY_TYPE
public static final int DATE_TYPE
public static final int DOUBLE_TYPE
public static final int DOUBLE_ARRAY_TYPE
public static final int FLOAT_TYPE
public static final int FLOAT_ARRAY_TYPE
public static final int NLSSTRING_TYPE
public static final int LOCALESPECSTRING_TYPE
public static final int FORMATTED_STRING_TYPE
public static final int NONE_TYPE
Method Detail |
public int writeDataValue(byte[] buf, int start)
buf
- - buffer to write data intostart
- - starting index for data write in 'buf'
public int writeDataValueLength()
public int readDataValue(byte[] buf, int start)
buf
- - buffer to read fromstart
- - index of start of data to be read
public int getDataValueType()
public java.lang.String toNLSString(java.util.Locale loc)
loc
- - locale
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |