|
|||||||||
| 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.CSVTablePrinter
public final class CSVTablePrinter
An interface for creating a CSV formatted table.
| Constructor Summary | |
|---|---|
CSVTablePrinter(java.io.OutputStream stream)
Creates a new CSV table printer for the specified output stream. |
|
CSVTablePrinter(java.io.Writer writer)
Creates a new CSV 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 CSVTablePrinter(java.io.OutputStream stream)
stream - The stream to output tables to.public CSVTablePrinter(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 | ||||||||