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
Objects that prints their properties and values one per line.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ObjectPrinter<T> Creates a newObjectPrinterinstance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.approvej.print.Printer
filenameExtension
-
Field Details
-
Method Details
-
objectPrinter
Creates a newObjectPrinterinstance.- Type Parameters:
T- the type of the object to be printed- Returns:
- a new
ObjectPrinterinstance
-
apply
-