|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deserializer
Iterator-style interface for stream based deserializers.
| Method Summary | ||
|---|---|---|
void |
close(boolean closeReader)
Closes the deserialization stream. |
|
InputPosition |
getInputPosition()
Returns information about the current position within the input stream. |
|
boolean |
hasNext()
Returns true if another object can be deserialized from the stream. |
|
|
next()
Deserializes an object from the stream. |
|
void |
open(Reader reader)
Opens a new deserialization stream based on the given reader. |
|
| Method Detail |
|---|
void open(Reader reader)
reader - the reader to base the stream on.
DeserializationExceptionboolean hasNext()
DeserializationException<T> T next()
T - the expected type of the object
DeserializationExceptionvoid close(boolean closeReader)
closeReader
is true.
closeReader - if true, the underlying reader will be closed, too.
DeserializationExceptionInputPosition getInputPosition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||