Package org.approvej.print
Class ObjectPrinter<T>
java.lang.Object
org.approvej.print.ObjectPrinter<T>
- Type Parameters:
T
- the type of the object to be printed
A generic printer for Java
Object
s that prints their properties and values one per line.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ObjectPrinter
<T> Creates a newObjectPrinter
instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.approvej.print.Printer
filenameExtension
-
Field Details
-
Method Details
-
objectPrinter
Creates a newObjectPrinter
instance.- Type Parameters:
T
- the type of the object to be printed- Returns:
- a new
ObjectPrinter
instance
-
apply
-