| Modifier and Type | Field and Description |
|---|---|
| private final BlockUnmarshaller | |
| private Object | |
| private static final int | |
| private static final int | |
| private int | |
| private SerializableClassDescriptor | |
| private int | |
| private final RiverUnmarshaller | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| protected | RiverObjectInputStream(final RiverUnmarshaller riverUnmarshaller, final BlockUnmarshaller delegateUnmarshaller)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | defaultReadObject()
Implements abstract org. |
| pack-priv void | |
| protected void | |
| protected void | |
| private int | |
| protected int | |
| protected void | |
| public int | read()
Overrides org. Implements org. |
| public int | read(final byte[]
the destination array buf)Overrides org. Implements org. |
| public int | read(final byte[]
the destination array buf, final int the offset into the array into which data should be read off, final int the number of bytes to attempt to fill in the destination array len)Overrides org. Implements org. |
| public boolean | readBoolean()
Overrides org. Implements java. |
| public byte | readByte()
Overrides org. Implements java. |
| public char | readChar()
Overrides org. Implements java. |
| public double | readDouble()
Overrides org. Implements java. |
| public ObjectInputStream. | readFields()
Implements abstract org. |
| public float | readFloat()
Overrides org. Implements java. |
| public void | readFully(final byte[]
the buffer into which the data is read buf)Overrides org. Implements java. |
| public void | readFully(final byte[]
the buffer into which the data is read buf, final int the start offset into the data array off, final int bufthe maximum number of bytes to read len)Overrides org. Implements java. |
| public int | readInt()
Overrides org. Implements java. |
| public String | readLine()
Overrides org. Implements java.
Deprecated
Reads in a line that has been terminated by a \n, \r, \r\n or EOF.
|
| public long | readLong()
Overrides org. Implements java. |
| protected Object | readObjectOverride()
Overrides org. |
| public short | readShort()
Overrides org. Implements java. |
| public Object | readUnshared()
Overrides org. |
| public int | readUnsignedByte()
Overrides org. Implements java. |
| public int | readUnsignedShort()
Overrides org. Implements java. |
| public String | readUTF()
Overrides org. Implements java. |
| public void | registerValidation(final ObjectInputValidation
the object to receive the validation callback. obj, final int controls the order of callbacks; zero is a good default.
Use higher numbers to be called back earlier, lower numbers for
later callbacks. Within a priority, callbacks are processed in
no particular order. prio)Implements abstract org. |
| public long | skip(final long
the number of bytes to attempt to skip n)Overrides org. Implements org. n bytes of data from this input stream.
|
| public int | skipBytes(final int
the number of bytes to be skipped len)Overrides org. Implements java. |
| protected int | |
| protected SerializableClassDescriptor | |
| protected Object |
| blockUnmarshaller | back to summary |
|---|---|
| private final BlockUnmarshaller blockUnmarshaller | |
| current | back to summary |
|---|---|
| private Object current | |
| OFF | back to summary |
|---|---|
| private static final int OFF | |
| ON | back to summary |
|---|---|
| private static final int ON | |
| restoreIdx | back to summary |
|---|---|
| private int restoreIdx | |
| serializableClassDescriptor | back to summary |
|---|---|
| private SerializableClassDescriptor serializableClassDescriptor | |
| state | back to summary |
|---|---|
| private int state | |
| unmarshaller | back to summary |
|---|---|
| private final RiverUnmarshaller unmarshaller | |
| UNREAD_FIELDS | back to summary |
|---|---|
| private static final int UNREAD_FIELDS | |
| UNREAD_FIELDS_EOB | back to summary |
|---|---|
| private static final int UNREAD_FIELDS_EOB | |
| RiverObjectInputStream | back to summary |
|---|---|
| protected RiverObjectInputStream(final RiverUnmarshaller riverUnmarshaller, final BlockUnmarshaller delegateUnmarshaller) throws IOException, SecurityException | |
| checkState | back to summary |
|---|---|
| private void checkState() throws IOException | |
| defaultReadObject | back to summary |
|---|---|
| public void defaultReadObject() throws IOException, ClassNotFoundException Implements abstract org. Doc from org. Read the non-static and non-transient fields of the current class from this stream. This may only be called from the readObject method of the class being deserialized. It will throw the NotActiveException if it is called otherwise.
| |
| discardReadObject | back to summary |
|---|---|
| pack-priv void discardReadObject() throws IOException | |
| finish | back to summary |
|---|---|
| protected void finish(final int restoreState) throws IOException | |
| fullReset | back to summary |
|---|---|
| protected void fullReset() | |
| getAndSet | back to summary |
|---|---|
| private int getAndSet(int set) | |
| getRestoreIdx | back to summary |
|---|---|
| protected int getRestoreIdx() | |
| noCustomData | back to summary |
|---|---|
| protected void noCustomData() | |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides org. Implements org. Doc from org. Reads the next byte of data from the input stream. If no byte is available because the end of the stream has been reached, the value -1 is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.
| |
| read | back to summary |
|---|---|
| public int read(final byte[] buf) throws IOException Overrides org. Implements org. Doc from org. Read some bytes from the input stream into the given array. Returns the number of bytes actually read (possibly zero), or -1 if the end of stream has been reached.
| |
| read | back to summary |
|---|---|
| public int read(final byte[] buf, final int off, final int len) throws IOException Overrides org. Implements org. Doc from org. Read some bytes from the input stream into the given array. Returns the number of bytes actually read (possibly zero), or -1 if the end of stream has been reached.
| |
| readBoolean | back to summary |
|---|---|
| public boolean readBoolean() throws IOException Overrides org. Implements java. Doc from org. Reads in a boolean.
| |
| readByte | back to summary |
|---|---|
| public byte readByte() throws IOException Overrides org. Implements java. Doc from org. Reads an 8-bit byte.
| |
| readChar | back to summary |
|---|---|
| public char readChar() throws IOException Overrides org. Implements java. Doc from org. Reads a 16-bit char.
| |
| readDouble | back to summary |
|---|---|
| public double readDouble() throws IOException Overrides org. Implements java. Doc from org. Reads a 64-bit double.
| |
| readFields | back to summary |
|---|---|
| public ObjectInputStream. Implements abstract org. Doc from org. Reads the persistent fields from the stream and makes them available by name.
| |
| readFloat | back to summary |
|---|---|
| public float readFloat() throws IOException Overrides org. Implements java. Doc from org. Reads a 32-bit float.
| |
| readFully | back to summary |
|---|---|
| public void readFully(final byte[] buf) throws IOException Overrides org. Implements java. Doc from org. Reads bytes, blocking until all bytes are read.
| |
| readFully | back to summary |
|---|---|
| public void readFully(final byte[] buf, final int off, final int len) throws IOException Overrides org. Implements java. Doc from org. Reads bytes, blocking until all bytes are read.
| |
| readInt | back to summary |
|---|---|
| public int readInt() throws IOException Overrides org. Implements java. Doc from org. Reads a 32-bit int.
| |
| readLine | back to summary |
|---|---|
| public String readLine() throws IOException Overrides org. Implements java. Doc from org. Deprecated
Reads in a line that has been terminated by a \n, \r, \r\n or EOF.
| |
| readLong | back to summary |
|---|---|
| public long readLong() throws IOException Overrides org. Implements java. Doc from org. Reads a 64-bit long.
| |
| readObjectOverride | back to summary |
|---|---|
| protected Object readObjectOverride() throws IOException, ClassNotFoundException Overrides org. Doc from org. This method is called by trusted subclasses of ObjectInputStream that constructed ObjectInputStream using the protected no-arg constructor. The subclass is expected to provide an override method with the modifier "final".
| |
| readShort | back to summary |
|---|---|
| public short readShort() throws IOException Overrides org. Implements java. Doc from org. Reads a 16-bit short.
| |
| readUnshared | back to summary |
|---|---|
| public Object readUnshared() throws IOException, ClassNotFoundException Overrides org. Doc from org. Reads an "unshared" object from the ObjectInputStream. This method is identical to readObject, except that it prevents subsequent calls to readObject and readUnshared from returning additional references to the deserialized instance obtained via this call. Specifically:
The deserialization filter, when not ObjectInputStream subclasses which override this method can only be constructed in security contexts possessing the "enableSubclassImplementation" SerializablePermission; any attempt to instantiate such a subclass without this permission will cause a SecurityException to be thrown.
| |
| readUnsignedByte | back to summary |
|---|---|
| public int readUnsignedByte() throws IOException Overrides org. Implements java. Doc from org. Reads an unsigned 8-bit byte.
| |
| readUnsignedShort | back to summary |
|---|---|
| public int readUnsignedShort() throws IOException Overrides org. Implements java. Doc from org. Reads an unsigned 16-bit short.
| |
| readUTF | back to summary |
|---|---|
| public String readUTF() throws IOException Overrides org. Implements java. Doc from org. Reads a String in modified UTF-8 format.
| |
| registerValidation | back to summary |
|---|---|
| public void registerValidation(final ObjectInputValidation obj, final int prio) throws NotActiveException, InvalidObjectException Implements abstract org. Doc from org. Register an object to be validated before the graph is returned. While similar to resolveObject these validations are called after the entire graph has been reconstituted. Typically, a readObject method will register the object with the stream so that when all of the objects are restored a final set of validations can be performed.
| |
| skip | back to summary |
|---|---|
| public long skip(final long n) throws IOException Overrides org. Implements org. Doc from org. Skips over and discards up to
| |
| skipBytes | back to summary |
|---|---|
| public int skipBytes(final int len) throws IOException Overrides org. Implements java. Doc from org. Skips bytes.
| |
| start | back to summary |
|---|---|
| protected int start() | |
| swapClass | back to summary |
|---|---|
| protected SerializableClassDescriptor swapClass(final SerializableClassDescriptor descriptor) | |
| swapCurrent | back to summary |
|---|---|
| protected Object swapCurrent(final Object obj) | |