org.nhindirect.dns.tools.printers
Class AbstractRecordPrinter<T>

java.lang.Object
  extended by org.nhindirect.dns.tools.printers.AbstractRecordPrinter<T>
All Implemented Interfaces:
RecordPrinter<T>
Direct Known Subclasses:
CertRecordPrinter

public abstract class AbstractRecordPrinter<T>
extends Object
implements RecordPrinter<T>


Constructor Summary
AbstractRecordPrinter(int tableWidth, Collection<org.nhindirect.dns.tools.printers.AbstractRecordPrinter.ReportColumn> reportColumns)
           
 
Method Summary
 void printRecord(T record)
           
 void printRecords(Collection<T> records)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRecordPrinter

public AbstractRecordPrinter(int tableWidth,
                             Collection<org.nhindirect.dns.tools.printers.AbstractRecordPrinter.ReportColumn> reportColumns)
Method Detail

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>


Copyright © 2010-2015 The Direct Project. All Rights Reserved.