be.ac.ulg.montefiore.run.totem.visualtopo.guiComponents.domainTables.tableExport
Interface TableExporter

All Known Implementing Classes:
TxtTableExporter

public interface TableExporter

Interface designed to export the content of a JTable in a file.

Creation date: 27/04/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 void export(java.io.File file, javax.swing.JTable table)
          Exports the given table to the given file.
 void export(java.lang.String fileName, javax.swing.JTable table)
          Exports the given table to the given file.
 

Method Detail

export

void export(java.lang.String fileName,
            javax.swing.JTable table)
            throws java.io.IOException
Exports the given table to the given file.

Parameters:
fileName - Name of the file
table - Table to export
Throws:
java.io.IOException - Thrown if an error occurs while writing to the file.

export

void export(java.io.File file,
            javax.swing.JTable table)
            throws java.io.IOException
Exports the given table to the given file.

Parameters:
file - a file
table - Table to export
Throws:
java.io.IOException - Thrown if an error occurs while writing to the file.


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.