net.jini.io
Class CompressedObjectOutputStream
java.lang.Object
java.io.OutputStream
java.io.ObjectOutputStream
net.jini.io.CompressedObjectOutputStream
- All Implemented Interfaces:
- Closeable, DataOutput, Flushable, ObjectOutput, ObjectStreamConstants
public class CompressedObjectOutputStream
- extends ObjectOutputStream
- Author:
- kimchy
Fields inherited from interface java.io.ObjectStreamConstants |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
Methods inherited from class java.io.ObjectOutputStream |
annotateClass, annotateProxyClass, close, defaultWriteObject, drain, enableReplaceObject, flush, putFields, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChars, writeClassDescriptor, writeFields, writeObject, writeObjectOverride, writeStreamHeader, writeUnshared |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedObjectOutputStream
public CompressedObjectOutputStream(OutputStream out)
throws IOException
- Throws:
IOException
writeShort
public void writeShort(int val)
throws IOException
- Specified by:
writeShort
in interface DataOutput
- Overrides:
writeShort
in class ObjectOutputStream
- Throws:
IOException
writeInt
public void writeInt(int val)
throws IOException
- Specified by:
writeInt
in interface DataOutput
- Overrides:
writeInt
in class ObjectOutputStream
- Throws:
IOException
writeLong
public void writeLong(long val)
throws IOException
- Specified by:
writeLong
in interface DataOutput
- Overrides:
writeLong
in class ObjectOutputStream
- Throws:
IOException
writeFloat
public void writeFloat(float val)
throws IOException
- Specified by:
writeFloat
in interface DataOutput
- Overrides:
writeFloat
in class ObjectOutputStream
- Throws:
IOException
writeDouble
public void writeDouble(double val)
throws IOException
- Specified by:
writeDouble
in interface DataOutput
- Overrides:
writeDouble
in class ObjectOutputStream
- Throws:
IOException
writeUTF
public void writeUTF(String str)
throws IOException
- Specified by:
writeUTF
in interface DataOutput
- Overrides:
writeUTF
in class ObjectOutputStream
- Throws:
IOException
writeChar
public void writeChar(int val)
throws IOException
- Specified by:
writeChar
in interface DataOutput
- Overrides:
writeChar
in class ObjectOutputStream
- Throws:
IOException
Copyright © GigaSpaces.