org.opends.server.util.table
Class TablePrinter

java.lang.Object
  extended by org.opends.server.util.table.TablePrinter
Direct Known Subclasses:
CSVTablePrinter, TabSeparatedTablePrinter, TextTablePrinter

public abstract class TablePrinter
extends java.lang.Object

An interface for incrementally configuring a table serializer. Once configured, the table printer can be used to create a new TableSerializer instance using the getSerializer() method.


Constructor Summary
protected TablePrinter()
          Creates a new abstract table printer.
 
Method Summary
protected abstract  TableSerializer getSerializer()
          Creates a new table serializer based on the configuration of this table printer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TablePrinter

protected TablePrinter()
Creates a new abstract table printer.

Method Detail

getSerializer

protected abstract TableSerializer getSerializer()
Creates a new table serializer based on the configuration of this table printer.

Returns:
Returns a new table serializer based on the configuration of this table printer.