public interface Unmarshaller extends java.io.ObjectInput, ByteInput
Modifier and Type | Method and Description |
---|---|
void |
clearClassCache()
Discard the class cache.
|
void |
clearInstanceCache()
Discard the instance cache.
|
void |
finish()
Finish unmarshalling from a stream.
|
java.lang.Object |
readObjectUnshared()
Read and return an unshared object.
|
void |
start(ByteInput newInput)
Begin unmarshalling from a stream.
|
available, close, read, read, read, readObject, skip
java.lang.Object readObjectUnshared() throws java.lang.ClassNotFoundException, java.io.IOException
java.io.IOException
- if an error occursjava.lang.ClassNotFoundException
void start(ByteInput newInput) throws java.io.IOException
newInput
- the new streamjava.io.IOException
- if an error occurs during setup, such as an invalid headervoid clearInstanceCache() throws java.io.IOException
java.io.IOException
- if an error occursvoid clearClassCache() throws java.io.IOException
java.io.IOException
- if an error occursvoid finish() throws java.io.IOException
java.io.IOException
- if an error occurs