public class MarshallingSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
BIG_STRING_TYPE |
static byte |
BOOLEAN_TYPE |
static byte |
BYTE_ARRAY_TYPE |
static byte |
BYTE_TYPE |
static byte |
CHAR_TYPE |
static byte |
DOUBLE_TYPE |
static byte |
FLOAT_TYPE |
static byte |
INTEGER_TYPE |
static byte |
LIST_TYPE |
static byte |
LONG_TYPE |
static byte |
MAP_TYPE |
static byte |
NULL |
static byte |
SHORT_TYPE |
static byte |
STRING_TYPE |
| Constructor and Description |
|---|
MarshallingSupport() |
public static final byte NULL
public static final byte BOOLEAN_TYPE
public static final byte BYTE_TYPE
public static final byte CHAR_TYPE
public static final byte SHORT_TYPE
public static final byte INTEGER_TYPE
public static final byte LONG_TYPE
public static final byte DOUBLE_TYPE
public static final byte FLOAT_TYPE
public static final byte STRING_TYPE
public static final byte BYTE_ARRAY_TYPE
public static final byte MAP_TYPE
public static final byte LIST_TYPE
public static final byte BIG_STRING_TYPE
public static void marshalPrimitiveMap(Map map, DataOutputStream out) throws IOException
IOExceptionpublic static Map unmarshalPrimitiveMap(DataInputStream in) throws IOException
IOExceptionpublic static Map unmarshalPrimitiveMap(DataInputStream in, int max_property_size) throws IOException
in - IOExceptionIOExceptionpublic static void marshalPrimitiveList(List list, DataOutputStream out) throws IOException
IOExceptionpublic static List unmarshalPrimitiveList(DataInputStream in) throws IOException
IOExceptionpublic static void marshalPrimitive(DataOutputStream out, Object value) throws IOException
IOExceptionpublic static Object unmarshalPrimitive(DataInputStream in) throws IOException
IOExceptionpublic static void marshalNull(DataOutputStream out) throws IOException
IOExceptionpublic static void marshalBoolean(DataOutputStream out, boolean value) throws IOException
IOExceptionpublic static void marshalByte(DataOutputStream out, byte value) throws IOException
IOExceptionpublic static void marshalChar(DataOutputStream out, char value) throws IOException
IOExceptionpublic static void marshalShort(DataOutputStream out, short value) throws IOException
IOExceptionpublic static void marshalInt(DataOutputStream out, int value) throws IOException
IOExceptionpublic static void marshalLong(DataOutputStream out, long value) throws IOException
IOExceptionpublic static void marshalFloat(DataOutputStream out, float value) throws IOException
IOExceptionpublic static void marshalDouble(DataOutputStream out, double value) throws IOException
IOExceptionpublic static void marshalByteArray(DataOutputStream out, byte[] value) throws IOException
IOExceptionpublic static void marshalByteArray(DataOutputStream out, byte[] value, int offset, int length) throws IOException
IOExceptionpublic static void marshalString(DataOutputStream out, String s) throws IOException
IOExceptionpublic static void writeUTF8(DataOutput dataOut, String text) throws IOException
IOExceptionpublic static String readUTF8(DataInput dataIn) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.