
public final class BlockMarshaller extends Object implements Marshaller, ExtendedObjectStreamConstants
TC_CLASSTABLEDESC, TC_OBJECTTABLEbaseWireHandle, 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| Modifier and Type | Method and Description |
|---|---|
void |
clearClassCache() |
void |
clearInstanceCache() |
void |
close() |
void |
finish() |
void |
flush() |
void |
start(ByteOutput newOutput) |
void |
write(byte[] b) |
void |
write(byte[] bytes,
int off,
int len) |
void |
write(int v) |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeObject(Object obj) |
void |
writeObjectUnshared(Object obj) |
void |
writeShort(int v) |
void |
writeUTF(String s) |
public void start(ByteOutput newOutput) throws IOException
start in interface MarshallerIOExceptionpublic void clearInstanceCache()
throws IOException
clearInstanceCache in interface MarshallerIOExceptionpublic void clearClassCache()
throws IOException
clearClassCache in interface MarshallerIOExceptionpublic void finish()
throws IOException
finish in interface MarshallerIOExceptionpublic void writeObject(Object obj) throws IOException
writeObject in interface ObjectOutputIOExceptionpublic void writeObjectUnshared(Object obj) throws IOException
writeObjectUnshared in interface MarshallerIOExceptionpublic void write(int v)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in interface ByteOutputIOExceptionpublic void write(byte[] b)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in interface ByteOutputIOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in interface ByteOutputIOExceptionpublic void writeBoolean(boolean v)
throws IOException
writeBoolean in interface DataOutputIOExceptionpublic void writeByte(int v)
throws IOException
writeByte in interface DataOutputIOExceptionpublic void writeShort(int v)
throws IOException
writeShort in interface DataOutputIOExceptionpublic void writeChar(int v)
throws IOException
writeChar in interface DataOutputIOExceptionpublic void writeInt(int v)
throws IOException
writeInt in interface DataOutputIOExceptionpublic void writeLong(long v)
throws IOException
writeLong in interface DataOutputIOExceptionpublic void writeFloat(float v)
throws IOException
writeFloat in interface DataOutputIOExceptionpublic void writeDouble(double v)
throws IOException
writeDouble in interface DataOutputIOExceptionpublic void writeBytes(String s) throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeChars(String s) throws IOException
writeChars in interface DataOutputIOExceptionpublic void writeUTF(String s) throws IOException
writeUTF in interface DataOutputIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in interface ObjectOutputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface ObjectOutputclose in interface AutoCloseableIOExceptionCopyright © 2011 JBoss, a division of Red Hat, Inc.