org.nhindirect.config.manager.printers
Class AbstractRecordPrinter<T>
java.lang.Object
org.nhindirect.config.manager.printers.AbstractRecordPrinter<T>
- All Implemented Interfaces:
- RecordPrinter<T>
- Direct Known Subclasses:
- CertRecordPrinter, PolicyGroupPrinter, PolicyPrinter, PolicyUsagePrinter
public abstract class AbstractRecordPrinter<T>
- extends Object
- implements RecordPrinter<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reportColumns
protected final Collection<AbstractRecordPrinter.ReportColumn> reportColumns
tableWidth
protected final int tableWidth
AbstractRecordPrinter
public AbstractRecordPrinter(int tableWidth,
Collection<AbstractRecordPrinter.ReportColumn> reportColumns)
printRecord
public void printRecord(T record)
- Specified by:
printRecord in interface RecordPrinter<T>
printRecords
public void printRecords(Collection<T> records)
- Specified by:
printRecords in interface RecordPrinter<T>
printRecordInternal
protected void printRecordInternal(T record)
getColumnValue
protected String getColumnValue(AbstractRecordPrinter.ReportColumn column,
T record)
printHeader
protected void printHeader()
Copyright © 2015. All Rights Reserved.