prefuse.data.io
Interface TableWriter

All Known Implementing Classes:
AbstractTableWriter, CSVTableWriter, DelimitedTextTableWriter, FixedWidthTextTableWriter

public interface TableWriter

Interface for classes that write Table data to a particular file format.

Author:
jeffrey heer

Method Summary
 void writeTable(Table table, java.io.File f)
          Write a table to the given File.
 void writeTable(Table table, java.io.OutputStream os)
          Write a table from the given OutputStream.
 void writeTable(Table table, java.lang.String filename)
          Write a table to the file with the given filename.
 

Method Detail

writeTable

void writeTable(Table table,
                java.lang.String filename)
                throws DataIOException
Write a table to the file with the given filename.

Parameters:
table - the Table to write
filename - the file to write the table to
Throws:
DataWriteException
DataIOException

writeTable

void writeTable(Table table,
                java.io.File f)
                throws DataIOException
Write a table to the given File.

Parameters:
table - the Table to write
f - the file to write the table to
Throws:
DataWriteException
DataIOException

writeTable

void writeTable(Table table,
                java.io.OutputStream os)
                throws DataIOException
Write a table from the given OutputStream.

Parameters:
table - the Table to write
os - the OutputStream to write the table to
Throws:
DataWriteException
DataIOException


Copyright © 2007 Regents of the University of California