class SerializingCloner.StepObjectInput extends AbstractObjectInput implements Unmarshaller
| Modifier and Type | Field and Description |
|---|---|
private SerializingCloner.Step |
current |
private int |
idx |
private java.util.Queue<SerializingCloner.Step> |
steps |
buffer, limit, positionbyteInput| Constructor and Description |
|---|
StepObjectInput(java.util.Queue<SerializingCloner.Step> steps) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearClassCache()
Discard the class cache.
|
void |
clearInstanceCache()
Discard the instance cache.
|
protected java.lang.Object |
doReadObject(boolean unshared)
Implementation of the actual object-reading method.
|
void |
finish()
Finish reading from the current input.
|
void |
start(ByteInput byteInput)
Start reading from the given input.
|
readObject, readObject, readObjectUnshared, readObjectUnsharedavailable, close, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, readUTF, skip, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadObject, readObjectUnshared, readObjectUnsharedavailable, close, read, read, read, readObject, skipprivate final java.util.Queue<SerializingCloner.Step> steps
private SerializingCloner.Step current
private int idx
StepObjectInput(java.util.Queue<SerializingCloner.Step> steps) throws java.io.IOException
java.io.IOExceptionprotected java.lang.Object doReadObject(boolean unshared)
throws java.lang.ClassNotFoundException,
java.io.IOException
AbstractObjectInputdoReadObject in class AbstractObjectInputunshared - true if the instance should be unshared, false if it is sharedjava.lang.ClassNotFoundException - if the class for the object could not be loadedjava.io.IOException - if an I/O error occurspublic void finish()
throws java.io.IOException
SimpleDataInputfinish in interface Unmarshallerfinish in class SimpleDataInputjava.io.IOException - not thrown by this implementation, but may be overridden to be thrown if a problem occurspublic void start(ByteInput byteInput) throws java.io.IOException
SimpleDataInputstart in interface Unmarshallerstart in class SimpleDataInputbyteInput - the new input from which to readjava.io.IOException - not thrown by this implementation, but may be overridden to be thrown if a problem occurspublic void clearInstanceCache()
throws java.io.IOException
UnmarshallerclearInstanceCache in interface Unmarshallerjava.io.IOException - if an error occurspublic void clearClassCache()
throws java.io.IOException
UnmarshallerclearClassCache in interface Unmarshallerjava.io.IOException - if an error occurs