public class IdentityReadHandler extends java.lang.Object implements ReadHandler<java.lang.Object>
| Constructor and Description |
|---|
IdentityReadHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(java.lang.Object o)
Indicates whether this handler can take care of reading a particular
object.
|
java.lang.Object |
handle(java.lang.Object o)
Reads an object
|
public boolean canHandle(java.lang.Object o)
throws ReadException
ReadHandlercanHandle in interface ReadHandler<java.lang.Object>o - The serialized version of the objectReadException - The internal object printerpublic java.lang.Object handle(java.lang.Object o)
throws ReadException
ReadHandlerhandle in interface ReadHandler<java.lang.Object>o - The serialized version of the objectReadException - Thrown if the object cannot be readCopyright © Sylvain HallĂ©. All Rights Reserved.