|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bea.jolt.SBuffer
This class provides the constants for the data type. It also provides methods to contruct a field ID, to access data type information from field ID, and to access the unique ordinal number.
Field Summary | |
static java.lang.String |
encode
Encoding Name |
static java.lang.String |
I18NPROPERTYCLASS
|
static boolean |
jolti18nFlag
|
static int |
SBINARY
The constant for the Byte Array (opaque) data type |
static int |
SBYTE
The constant for the Byte (8-bit) data type |
static int |
SDOUBLE
The constant for the Double data type |
static int |
SFLOAT
The constant for the Float data type |
static int |
SINT
The constant for the Int (32-bit) data type |
static int |
SMBSTRING
The constant for the MBString data type |
static int |
SSHORT
The constant for the Short (16-bit) data type |
static int |
SSTRING
The constant for the String data type |
static int |
SSTRUCT
The constant for the Structured Buffer data type |
Constructor Summary | |
SBuffer()
|
Method Summary | |
static byte[] |
getBytes(java.lang.String str)
|
static java.lang.String |
getEncode()
|
static int |
GETID(int fieldID)
Get the unique ordinal value. |
static boolean |
getJolti18nFlag()
|
static java.lang.String |
getString(byte[] buf,
int offset,
int count)
|
static int |
ID(int id,
int type)
This method is to construct the 32-bit Field ID. |
static int |
TYPE(int fieldID)
Get the data type information from a 32-bit Field ID. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SSHORT
public static final int SINT
public static final int SBYTE
public static final int SFLOAT
public static final int SDOUBLE
public static final int SSTRING
public static final int SBINARY
public static final int SSTRUCT
public static final int SMBSTRING
public static final java.lang.String encode
public static final boolean jolti18nFlag
public static final java.lang.String I18NPROPERTYCLASS
Constructor Detail |
public SBuffer()
Method Detail |
public static int ID(int id, int type)
id
- A unique 25-bit ordinal numbertype
- One of the data type constants
public static int TYPE(int fieldID)
fieldID
- The 32-bit Field ID
public static int GETID(int fieldID)
fieldID
- The 32-bit Field ID
public static boolean getJolti18nFlag()
public static java.lang.String getEncode()
public static byte[] getBytes(java.lang.String str)
public static java.lang.String getString(byte[] buf, int offset, int count)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |