public class GeneiousObjectInputStream extends ObjectInputStream
GeneiousObjectOutputStream.ObjectInputStream.GetFieldbaseWireHandle, 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 |
|---|
GeneiousObjectInputStream(InputStream in)
Constructs a new input stream to read from data previously written using a
GeneiousObjectOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
byte |
readByte() |
byte[] |
readByteArray()
Reads an array from this stream that was written using
GeneiousObjectOutputStream.writeByteArray(byte[]). |
int |
readInt() |
int[] |
readIntArray()
Reads an array from this stream that was written using
GeneiousObjectOutputStream.writeIntArray(int[]). |
SequenceDocument |
readSequence()
Reads a sequence from this input stream that was previously written using
GeneiousObjectOutputStream.writeSequence(SequenceDocument, jebl.util.ProgressListener) |
String |
readUTF() |
available, close, defaultReadObject, enableResolveObject, read, read, readBoolean, readChar, readClassDescriptor, readDouble, readFields, readFloat, readFully, readFully, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, registerValidation, resolveClass, resolveObject, resolveProxyClass, skipBytesmark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, skippublic GeneiousObjectInputStream(InputStream in) throws IOException
GeneiousObjectOutputStream.in - the stream to read from.IOException - if an IO error is encountered reading from the input streampublic String readUTF() throws IOException
readUTF in interface DataInputreadUTF in class ObjectInputStreamIOExceptionpublic int[] readIntArray()
throws IOException
GeneiousObjectOutputStream.writeIntArray(int[]).IOException - if an IO error is encountered reading from the input streamGeneiousObjectOutputStream.writeIntArray(int[])public byte[] readByteArray()
throws IOException
GeneiousObjectOutputStream.writeByteArray(byte[]).IOException - if an IO error is encountered reading from the input streamGeneiousObjectOutputStream.writeByteArray(byte[])public SequenceDocument readSequence() throws IOException
GeneiousObjectOutputStream.writeSequence(SequenceDocument, jebl.util.ProgressListener)IOException - if we can't read a sequenceGeneiousObjectOutputStream.writeSequence(SequenceDocument, jebl.util.ProgressListener)public int readInt()
throws IOException
readInt in interface DataInputreadInt in class ObjectInputStreamIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputreadByte in class ObjectInputStreamIOException