public class ObjectOutputChannel extends DataStream
address, array, FIRST_APP_UID, limit, offset, REF_EMBEDDED, REF_NULL, REF_RECURSIVE, REF_RECURSIVE2| Constructor and Description |
|---|
ObjectOutputChannel(WritableByteChannel ch) |
ObjectOutputChannel(WritableByteChannel ch,
int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
alloc(int size) |
void |
close() |
void |
flush() |
long |
getBytesWritten() |
void |
reset() |
void |
writeObject(Object obj) |
address, array, available, byteBuffer, count, newScope, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readShort, readTo, readUnsignedByte, readUnsignedShort, readUTF, register, skip, skipBytes, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeFrom, writeInt, writeLong, writeShort, writeUTFpublic ObjectOutputChannel(WritableByteChannel ch)
public ObjectOutputChannel(WritableByteChannel ch, int bufSize)
public long getBytesWritten()
public void writeObject(Object obj) throws IOException
writeObject in interface ObjectOutputwriteObject in class DataStreamIOExceptionpublic void reset()
public void flush()
throws IOException
flush in interface ObjectOutputflush in class DataStreamIOExceptionpublic void close()
throws IOException
close in interface ObjectInputclose in interface ObjectOutputclose in interface AutoCloseableclose in class DataStreamIOExceptionprotected long alloc(int size)
throws IOException
alloc in class DataStreamIOExceptionCopyright © 2019. All rights reserved.