|
JBoss Marshalling 1.3.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. |
|
|
readObject(java.lang.Class<T> type)
Read and return an object, cast to a specific type. |
|
java.lang.Object |
readObjectUnshared()
Read and return an unshared object. |
|
|
readObjectUnshared(java.lang.Class<T> type)
Read and return an unshared object, cast to a specific type. |
|
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 |
|---|
java.lang.Object readObjectUnshared()
throws java.lang.ClassNotFoundException,
java.io.IOException
java.lang.ClassNotFoundException - if the class of a serialized object cannot be found
java.io.IOException - if an error occurs
<T> T readObject(java.lang.Class<T> type)
throws java.lang.ClassNotFoundException,
java.io.IOException
T - the object typetype - the object class
java.lang.ClassNotFoundException - if the class of a serialized object cannot be found
java.io.InvalidObjectException - if the object is not of the expected type
java.io.IOException - if an error occurs
<T> T readObjectUnshared(java.lang.Class<T> type)
throws java.lang.ClassNotFoundException,
java.io.IOException
T - the object typetype - the object class
java.lang.ClassNotFoundException - if the class of a serialized object cannot be found
java.io.InvalidObjectException - if the object is not of the expected type
java.io.IOException - if an error occurs
void start(ByteInput newInput)
throws java.io.IOException
newInput - the new stream
java.io.IOException - if an error occurs during setup, such as an invalid header
void clearInstanceCache()
throws java.io.IOException
java.io.IOException - if an error occurs
void clearClassCache()
throws java.io.IOException
java.io.IOException - if an error occurs
void finish()
throws java.io.IOException
java.io.IOException - if an error occurs
|
JBoss Marshalling 1.3.0.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||