GigaSpaces XAP 10.0.1 API

net.jini.io
Class ObjectInputOutputCompressor

java.lang.Object
  extended by net.jini.io.ObjectInputOutputCompressor

public class ObjectInputOutputCompressor
extends Object


Field Summary
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 Summary
ObjectInputOutputCompressor()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_7BIT

public static final int _7BIT
See Also:
Constant Field Values

_6BIT

public static final int _6BIT
See Also:
Constant Field Values

_5BIT

public static final int _5BIT
See Also:
Constant Field Values

_4BIT

public static final int _4BIT
See Also:
Constant Field Values

BITN7

public static final int BITN7
See Also:
Constant Field Values

BITN8

public static final int BITN8
See Also:
Constant Field Values

FORBYTES

public static final int FORBYTES
See Also:
Constant Field Values

_8_7_BIT

public static final int _8_7_BIT
See Also:
Constant Field Values

_8_7_6_BIT

public static final int _8_7_6_BIT
See Also:
Constant Field Values

_SECOND_WORD

public static final int _SECOND_WORD
See Also:
Constant Field Values

_ASCII

public static final int _ASCII
See Also:
Constant Field Values

_FULLY

public static final int _FULLY
See Also:
Constant Field Values

_MAX_LEN

public static final int _MAX_LEN
See Also:
Constant Field Values
Constructor Detail

ObjectInputOutputCompressor

public ObjectInputOutputCompressor()
Method Detail

readBoolean

public static boolean readBoolean(ObjectInput ms)
                           throws IOException
Throws:
IOException

writeBoolean

public static void writeBoolean(ObjectOutput ms,
                                boolean b)
                         throws Exception
Throws:
Exception

readByte

public static byte readByte(ObjectInput in)
                     throws IOException
Throws:
IOException

writeByte

public static void writeByte(ObjectOutput out,
                             byte data)
                      throws IOException
Throws:
IOException

readChar

public static char readChar(ObjectInput in)
                     throws IOException
Throws:
IOException

writeChar

public static void writeChar(ObjectOutput out,
                             int data)
                      throws IOException
Throws:
IOException

readShort

public static short readShort(ObjectInput in)
                       throws IOException
Throws:
IOException

writeShort

public static void writeShort(ObjectOutput out,
                              short data)
                       throws IOException
Throws:
IOException

writeShort

public static void writeShort(ObjectOutput out,
                              int data)
                       throws IOException
Throws:
IOException

readInt

public static int readInt(ObjectInput in)
                   throws IOException
Throws:
IOException

writeInt

public static void writeInt(ObjectOutput out,
                            int data)
                     throws IOException
Throws:
IOException

readLong

public static long readLong(ObjectInput in)
                     throws IOException
Throws:
IOException

writeLong

public static void writeLong(ObjectOutput out,
                             long data)
                      throws IOException
Throws:
IOException

readFloat

public static float readFloat(ObjectInput in)
                       throws IOException
Throws:
IOException

writeFloat

public static void writeFloat(ObjectOutput out,
                              float data)
                       throws IOException
Throws:
IOException

readDouble

public static double readDouble(ObjectInput in)
                         throws IOException
Throws:
IOException

writeDouble

public static void writeDouble(ObjectOutput out,
                               double data)
                        throws IOException
Throws:
IOException

readUTF

public static String readUTF(ObjectInput in)
                      throws IOException
Throws:
IOException

writeUTF

public static void writeUTF(ObjectOutput out,
                            String data)
                     throws IOException
Throws:
IOException

readString

public static String readString(ObjectInput in)
                         throws IOException
Throws:
IOException

writeString

public static void writeString(ObjectOutput out,
                               String data)
                        throws IOException
Throws:
IOException

readBytes

public static void readBytes(ObjectInput in,
                             byte[] buff,
                             int ofset,
                             int len)
                      throws IOException
Throws:
IOException

readCharArray

public static char[] readCharArray(ObjectInput in)
                            throws IOException
Throws:
IOException

writeCharArray

public static void writeCharArray(ObjectOutput out,
                                  char[] arr)
                           throws IOException
Throws:
IOException

readDateTime

public static Date readDateTime(ObjectInput in)
                         throws IOException
Throws:
IOException

writeDateTime

public static void writeDateTime(ObjectOutput out,
                                 Date date)
                          throws IOException
Throws:
IOException

readDecimal

public static BigDecimal readDecimal(ObjectInput in)
                              throws IOException
Throws:
IOException

writeDecimal

public static void writeDecimal(ObjectOutput out,
                                BigDecimal bd)
                         throws IOException
Throws:
IOException

readUnsignedByte

public static int readUnsignedByte(ObjectInput in)
                            throws IOException
Throws:
IOException

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.