jimmc.roots
Class PrintOptions
java.lang.Object
|
+--jimmc.roots.PrintOptions
- All Implemented Interfaces:
- java.lang.Cloneable
- public class PrintOptions
- extends java.lang.Object
- implements java.lang.Cloneable
PrintOptions is used to pass around all of the information about
how the user wants output to be printed.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
public java.io.PrintWriter out
- Where to send the output
reportFormat
public PrintFormat reportFormat
- The overall report format in which to print
recordFormat
public RecordFormat recordFormat
- The format of each record.
includeKeys
public boolean includeKeys
- True if we should include key data in the output
PrintOptions
public PrintOptions()
PrintOptions
public PrintOptions(PrintFormat f,
RecordFormat r)
printRecords
public void printRecords(RootsRecord[] ra)
- Print the specified records.
Uses the formats contained in this object.
clone
protected java.lang.Object clone()
- Clone the object.
- Overrides:
clone
in class java.lang.Object