|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.data.io.AbstractTableWriter
prefuse.data.io.CSVTableWriter
public class CSVTableWriter
TableWriter that writes out a text table in the comma-separated-values format. By default, a header row containing the column names is included in the output.
| Constructor Summary | |
|---|---|
CSVTableWriter()
Create a new CSVTableWriter that writes comma separated values files. |
|
CSVTableWriter(boolean printHeader)
Create a new CSVTableWriter. |
|
| Method Summary | |
|---|---|
boolean |
isPrintHeader()
Indicates if this writer will write a header row with the column names. |
void |
setPrintHeader(boolean printHeader)
Sets if this writer will write a header row with the column names. |
void |
writeTable(Table table,
java.io.OutputStream os)
Write a table from the given OutputStream. |
| Methods inherited from class prefuse.data.io.AbstractTableWriter |
|---|
writeTable, writeTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVTableWriter()
public CSVTableWriter(boolean printHeader)
printHeader - indicates if a header row should be printed| Method Detail |
|---|
public boolean isPrintHeader()
public void setPrintHeader(boolean printHeader)
printHeader - true to print a header row, false otherwise
public void writeTable(Table table,
java.io.OutputStream os)
throws DataIOException
TableWriter
table - the Table to writeos - the OutputStream to write the table to
DataIOExceptionTableWriter.writeTable(prefuse.data.Table, java.io.OutputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||