prefuse.data.io
Class AbstractTableWriter

java.lang.Object
  extended by prefuse.data.io.AbstractTableWriter
All Implemented Interfaces:
TableWriter
Direct Known Subclasses:
CSVTableWriter, DelimitedTextTableWriter, FixedWidthTextTableWriter

public abstract class AbstractTableWriter
extends java.lang.Object
implements TableWriter

Abstract base class implementation of the TableWriter interface. Provides implementations for all but the TableWriter.writeTable(Table, java.io.OutputStream) method.

Author:
jeffrey heer

Constructor Summary
AbstractTableWriter()
           
 
Method Summary
 void writeTable(Table table, java.io.File f)
          Write a table to the given File.
 void writeTable(Table table, java.lang.String filename)
          Write a table to the file with the given filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface prefuse.data.io.TableWriter
writeTable
 

Constructor Detail

AbstractTableWriter

public AbstractTableWriter()
Method Detail

writeTable

public void writeTable(Table table,
                       java.lang.String filename)
                throws DataIOException
Description copied from interface: TableWriter
Write a table to the file with the given filename.

Specified by:
writeTable in interface TableWriter
Parameters:
table - the Table to write
filename - the file to write the table to
Throws:
DataIOException
See Also:
TableWriter.writeTable(prefuse.data.Table, java.lang.String)

writeTable

public void writeTable(Table table,
                       java.io.File f)
                throws DataIOException
Description copied from interface: TableWriter
Write a table to the given File.

Specified by:
writeTable in interface TableWriter
Parameters:
table - the Table to write
f - the file to write the table to
Throws:
DataIOException
See Also:
TableWriter.writeTable(prefuse.data.Table, java.io.File)


Copyright © 2007 Regents of the University of California