Package org.approvej.print
Class SingleLineStringPrintFormat
java.lang.Object
org.approvej.print.SingleLineStringPrintFormat
- All Implemented Interfaces:
PrintFormat<Object>
A generic print format for Java
Objects that prints that uses the Object.toString() method.-
Field Summary
Fields inherited from interface org.approvej.print.PrintFormat
DEFAULT_FILENAME_EXTENSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprinter()Returns the printer implementing this format.static @NonNull SingleLineStringPrintFormatCreates a newSingleLineStringPrintFormat.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.approvej.print.PrintFormat
filenameExtension
-
Constructor Details
-
SingleLineStringPrintFormat
public SingleLineStringPrintFormat()Default constructor to be used inConfiguration.
-
-
Method Details
-
printer
Description copied from interface:PrintFormatReturns the printer implementing this format.- Specified by:
printerin interfacePrintFormat<Object>- Returns:
- the printer implementing this format
-
singleLineString
Creates a newSingleLineStringPrintFormat.- Returns:
- a new
SingleLineStringPrintFormat
-