BufferItempublic class ByteTokener extends Tokener
| Modifier and Type | Field | Description |
|---|---|---|
static byte |
DATATYPE_ASSOC |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_ASSOCLONG |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_BYTE |
The Constant DATATYPE_BYTE.
|
static byte |
DATATYPE_BYTEARRAY |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_CHAR |
The Constant DATATYPE_CHAR.
|
static byte |
DATATYPE_CHECK |
The Constant CHECKTYPE.
|
static byte |
DATATYPE_CLAZZID |
The Constant DATATYPE_MAP.
|
static byte |
DATATYPE_CLAZZNAME |
The Constant CLASS-VALUE.
|
static byte |
DATATYPE_CLAZZNAMELONG |
The Constant CLASS-VALUE.
|
static byte |
DATATYPE_CLAZZPACKAGE |
The Constant CLASS-VALUE.
|
static byte |
DATATYPE_CLAZZSTREAM |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_CLAZZTYPE |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_CLAZZTYPELONG |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_DATE |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
DATATYPE_DOUBLE |
The Constant DATATYPE_DOUBLE.
|
static byte |
DATATYPE_FIXED |
The Constant FIXED VALUE.
|
static byte |
DATATYPE_FLOAT |
The Constant DATATYPE_FLOAT.
|
static byte |
DATATYPE_INTEGER |
The Constant DATATYPE_INTEGER.
|
static byte |
DATATYPE_LIST |
The Constant DATATYPE_LIST.
|
static byte |
DATATYPE_LONG |
The Constant DATATYPE_INTEGER.
|
static byte |
DATATYPE_MAP |
The Constant DATATYPE_MAP.
|
static byte |
DATATYPE_NULL |
The Constant NULL-VALUE.
|
static byte |
DATATYPE_SHORT |
The Constant DATATYPE_INTEGER.
|
static byte |
DATATYPE_STRING |
The Constant DATATYPE_STRING.
|
static byte |
DATATYPE_UNSIGNEDBYTE |
The Constant DATATYPE_BYTEARRAY.
|
static byte |
LEN_BIG |
The Constant LEN_BIG.
|
static byte |
LEN_LAST |
The Constant DATATYPE_LAST.
|
static byte |
LEN_LITTLE |
The Constant LEN_LITTLE.
|
static byte |
LEN_MID |
The Constant LEN_MID.
|
static byte |
LEN_SHORT |
The Constant LEN_SHORT.
|
static char |
SPLITTER |
The SPLITTER.
|
QUOTES, SPACE| Constructor | Description |
|---|---|
ByteTokener() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
decodeClazz(Buffer buffer,
SendableEntityCreator eventCreater,
MapEntity map) |
Decode.
|
java.lang.Object |
decodeValue(byte type,
Buffer buffer,
int end,
MapEntity map) |
Gets the decode object.
|
java.lang.Object |
decodeValue(byte current,
Buffer buffer,
MapEntity map) |
Gets the decode object.
|
java.lang.Object |
decodeValue(ByteEntity entity,
MapEntity map) |
|
ByteItem |
encode(java.lang.Object entity,
MapEntity map) |
|
ByteItem |
encodeValue(java.lang.Object value,
MapEntity filter) |
|
java.lang.String |
getCharset() |
|
static byte[] |
intToByte(int value) |
|
ByteTokener |
withMap(IdMap map) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, checkValues, createLink, getByte, getChar, getCreator, getCreatorClass, getCurrentChar, getId, getKey, getMap, getObject, getString, getStringList, isChild, isEmpty, isEnd, isError, length, newInstance, newInstanceList, nextClean, nextString, nextString, nextString, nextToken, nextValue, notify, parseToEntity, parseToEntity, position, remaining, skip, skip, skipChar, skipTo, skipTo, splitStrings, transformValue, withBuffer, withBuffer, withLookAHead, withLookAHeadpublic static final char SPLITTER
public static final byte DATATYPE_FIXED
public static final byte DATATYPE_NULL
public static final byte DATATYPE_CLAZZID
public static final byte DATATYPE_SHORT
public static final byte DATATYPE_INTEGER
public static final byte DATATYPE_LONG
public static final byte DATATYPE_FLOAT
public static final byte DATATYPE_DOUBLE
public static final byte DATATYPE_DATE
public static final byte DATATYPE_BYTE
public static final byte DATATYPE_UNSIGNEDBYTE
public static final byte DATATYPE_BYTEARRAY
public static final byte DATATYPE_CHAR
public static final byte DATATYPE_CLAZZNAME
public static final byte DATATYPE_CLAZZNAMELONG
public static final byte DATATYPE_CLAZZPACKAGE
public static final byte DATATYPE_CLAZZTYPE
public static final byte DATATYPE_CLAZZTYPELONG
public static final byte DATATYPE_ASSOC
public static final byte DATATYPE_ASSOCLONG
public static final byte DATATYPE_CLAZZSTREAM
public static final byte DATATYPE_STRING
public static final byte DATATYPE_LIST
public static final byte DATATYPE_MAP
public static final byte DATATYPE_CHECK
public static final byte LEN_LITTLE
public static final byte LEN_SHORT
public static final byte LEN_MID
public static final byte LEN_BIG
public static final byte LEN_LAST
public java.lang.String getCharset()
public java.lang.Object decodeClazz(Buffer buffer, SendableEntityCreator eventCreater, MapEntity map)
buffer - the in buffereventCreater - the Creator as Factorymap - the MapEntry for decoding-runtime valuespublic java.lang.Object decodeValue(ByteEntity entity, MapEntity map)
public java.lang.Object decodeValue(byte current,
Buffer buffer,
MapEntity map)
current - The CurrentChar (Type of value)buffer - the Buffer for decodingmap - decoding Runtime valuespublic java.lang.Object decodeValue(byte type,
Buffer buffer,
int end,
MapEntity map)
type - The CurrentChar (Type of value)buffer - the byteBufferend - EndIndexmap - decoding Runtimevaluepublic ByteTokener withMap(IdMap map)
public static final byte[] intToByte(int value)