|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.util.table.TablePrinter
org.opends.server.util.table.TabSeparatedTablePrinter
public final class TabSeparatedTablePrinter
An interface for creating a tab-separated formatted table.
This table printer will replace any tab, line-feeds, or carriage return control characters encountered in a cell with a single space.
Constructor Summary | |
---|---|
TabSeparatedTablePrinter(java.io.OutputStream stream)
Creates a new tab separated table printer for the specified output stream. |
|
TabSeparatedTablePrinter(java.io.Writer writer)
Creates a new tab separated table printer for the specified writer. |
Method Summary | |
---|---|
protected TableSerializer |
getSerializer()
Creates a new table serializer based on the configuration of this table printer. |
void |
setDisplayHeadings(boolean displayHeadings)
Specify whether or not table headings should be displayed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabSeparatedTablePrinter(java.io.OutputStream stream)
stream
- The stream to output tables to.public TabSeparatedTablePrinter(java.io.Writer writer)
writer
- The writer to output tables to.Method Detail |
---|
public void setDisplayHeadings(boolean displayHeadings)
displayHeadings
- true
if table headings should be
displayed.protected TableSerializer getSerializer()
getSerializer
in class TablePrinter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |