|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Deserializer<T>
A strategy interface for converting from data in an InputStream to an Object.
| Method Summary | |
|---|---|
T |
deserialize(InputStream inputStream)
Read (assemble) an object of type T from the given InputStream. |
| Method Detail |
|---|
T deserialize(InputStream inputStream)
throws IOException
Note: Implementations should not close the given InputStream (or any decorators of that InputStream) but rather leave this up to the caller.
inputStream - the input stream
IOException - in case of errors reading from the stream
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||