T - The type from which objects are deserializedpublic interface ReadHandler<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(T t)
Indicates whether this handler can take care of reading a particular
object.
|
java.lang.Object |
handle(T t)
Reads an object
|
boolean canHandle(T t) throws ReadException
t - The serialized version of the objectReadException - The internal object printerjava.lang.Object handle(T t) throws ReadException
t - The serialized version of the objectReadException - Thrown if the object cannot be readCopyright © Sylvain HallĂ©. All Rights Reserved.