public class ElsaObjectOutputStream extends ObjectOutputStream
ObjectOutputStream.PutField| Modifier and Type | Field and Description |
|---|---|
protected DataOutput |
out |
protected ElsaSerializerPojo |
serializer |
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| Constructor and Description |
|---|
ElsaObjectOutputStream(DataOutput out,
ElsaSerializerPojo serializer) |
ElsaObjectOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
writeObjectOverride(Object obj) |
annotateClass, annotateProxyClass, defaultWriteObject, drain, enableReplaceObject, flush, putFields, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeShort, writeStreamHeader, writeUnshared, writeUTFprotected final DataOutput out
protected final ElsaSerializerPojo serializer
public ElsaObjectOutputStream(DataOutput out, ElsaSerializerPojo serializer) throws IOException
IOExceptionpublic ElsaObjectOutputStream(OutputStream out) throws IOException
IOExceptionprotected void writeObjectOverride(Object obj) throws IOException
writeObjectOverride in class ObjectOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface ObjectOutputclose in interface AutoCloseableclose in class ObjectOutputStreamIOExceptionCopyright © 2016. All Rights Reserved.