T - The type to which objects are serializedpublic interface PrintHandler<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(java.lang.Object o)
Indicates whether this handler can take care of printing a particular
object.
|
T |
handle(java.lang.Object o)
Prints an object
|
void |
reset()
Resets the internal state of the handler
|
boolean canHandle(java.lang.Object o)
o - The objectT handle(java.lang.Object o) throws PrintException
o - The object to be printedPrintException - Thrown if the object cannot be printedvoid reset()
Copyright © Sylvain HallĂ©. All Rights Reserved.