|
Marshalling API version 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Unmarshaller
An unmarshaller which reads objects from a stream.
Method Summary | |
---|---|
void |
clearClassCache()
Discard the class cache. |
void |
clearInstanceCache()
Discard the instance cache. |
void |
finish()
Finish unmarshalling from a stream. |
Object |
readObjectUnshared()
Read and return an unshared object. |
void |
start(ByteInput newInput)
Begin unmarshalling from a stream. |
Methods inherited from interface java.io.ObjectInput |
---|
available, close, read, read, read, readObject, skip |
Methods inherited from interface java.io.DataInput |
---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
Methods inherited from interface org.jboss.marshalling.ByteInput |
---|
available, read, read, read, skip |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
Object readObjectUnshared() throws ClassNotFoundException, IOException
IOException
- if an error occurs
ClassNotFoundException
void start(ByteInput newInput) throws IOException
newInput
- the new stream
IOException
- if an error occurs during setup, such as an invalid headervoid clearInstanceCache() throws IOException
IOException
- if an error occursvoid clearClassCache() throws IOException
IOException
- if an error occursvoid finish() throws IOException
IOException
- if an error occurs
|
Marshalling API version 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |