public class ObjectInputOutputCompressor extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
_4BIT |
static int |
_5BIT |
static int |
_6BIT |
static int |
_7BIT |
static int |
_8_7_6_BIT |
static int |
_8_7_BIT |
static int |
_ASCII |
static int |
_FULLY |
static int |
_MAX_LEN |
static int |
_SECOND_WORD |
static int |
BITN7 |
static int |
BITN8 |
static int |
FORBYTES |
| Constructor and Description |
|---|
ObjectInputOutputCompressor() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
readBoolean(ObjectInput ms) |
static byte |
readByte(ObjectInput in) |
static void |
readBytes(ObjectInput in,
byte[] buff,
int ofset,
int len) |
static char |
readChar(ObjectInput in) |
static char[] |
readCharArray(ObjectInput in) |
static Date |
readDateTime(ObjectInput in) |
static BigDecimal |
readDecimal(ObjectInput in) |
static double |
readDouble(ObjectInput in) |
static float |
readFloat(ObjectInput in) |
static int |
readInt(ObjectInput in) |
static long |
readLong(ObjectInput in) |
static short |
readShort(ObjectInput in) |
static String |
readString(ObjectInput in) |
static int |
readUnsignedByte(ObjectInput in) |
static String |
readUTF(ObjectInput in) |
static void |
writeBoolean(ObjectOutput ms,
boolean b) |
static void |
writeByte(ObjectOutput out,
byte data) |
static void |
writeChar(ObjectOutput out,
int data) |
static void |
writeCharArray(ObjectOutput out,
char[] arr) |
static void |
writeDateTime(ObjectOutput out,
Date date) |
static void |
writeDecimal(ObjectOutput out,
BigDecimal bd) |
static void |
writeDouble(ObjectOutput out,
double data) |
static void |
writeFloat(ObjectOutput out,
float data) |
static void |
writeInt(ObjectOutput out,
int data) |
static void |
writeLong(ObjectOutput out,
long data) |
static void |
writeShort(ObjectOutput out,
int data) |
static void |
writeShort(ObjectOutput out,
short data) |
static void |
writeString(ObjectOutput out,
String data) |
static void |
writeUTF(ObjectOutput out,
String data) |
public static final int _7BIT
public static final int _6BIT
public static final int _5BIT
public static final int _4BIT
public static final int BITN7
public static final int BITN8
public static final int FORBYTES
public static final int _8_7_BIT
public static final int _8_7_6_BIT
public static final int _SECOND_WORD
public static final int _ASCII
public static final int _FULLY
public static final int _MAX_LEN
public static boolean readBoolean(ObjectInput ms) throws IOException
IOExceptionpublic static void writeBoolean(ObjectOutput ms, boolean b) throws Exception
Exceptionpublic static byte readByte(ObjectInput in) throws IOException
IOExceptionpublic static void writeByte(ObjectOutput out, byte data) throws IOException
IOExceptionpublic static char readChar(ObjectInput in) throws IOException
IOExceptionpublic static void writeChar(ObjectOutput out, int data) throws IOException
IOExceptionpublic static short readShort(ObjectInput in) throws IOException
IOExceptionpublic static void writeShort(ObjectOutput out, short data) throws IOException
IOExceptionpublic static void writeShort(ObjectOutput out, int data) throws IOException
IOExceptionpublic static int readInt(ObjectInput in) throws IOException
IOExceptionpublic static void writeInt(ObjectOutput out, int data) throws IOException
IOExceptionpublic static long readLong(ObjectInput in) throws IOException
IOExceptionpublic static void writeLong(ObjectOutput out, long data) throws IOException
IOExceptionpublic static float readFloat(ObjectInput in) throws IOException
IOExceptionpublic static void writeFloat(ObjectOutput out, float data) throws IOException
IOExceptionpublic static double readDouble(ObjectInput in) throws IOException
IOExceptionpublic static void writeDouble(ObjectOutput out, double data) throws IOException
IOExceptionpublic static String readUTF(ObjectInput in) throws IOException
IOExceptionpublic static void writeUTF(ObjectOutput out, String data) throws IOException
IOExceptionpublic static String readString(ObjectInput in) throws IOException
IOExceptionpublic static void writeString(ObjectOutput out, String data) throws IOException
IOExceptionpublic static void readBytes(ObjectInput in, byte[] buff, int ofset, int len) throws IOException
IOExceptionpublic static char[] readCharArray(ObjectInput in) throws IOException
IOExceptionpublic static void writeCharArray(ObjectOutput out, char[] arr) throws IOException
IOExceptionpublic static Date readDateTime(ObjectInput in) throws IOException
IOExceptionpublic static void writeDateTime(ObjectOutput out, Date date) throws IOException
IOExceptionpublic static BigDecimal readDecimal(ObjectInput in) throws IOException
IOExceptionpublic static void writeDecimal(ObjectOutput out, BigDecimal bd) throws IOException
IOExceptionpublic static int readUnsignedByte(ObjectInput in) throws IOException
IOExceptionCopyright © GigaSpaces.