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