|
Exporting Data |
Top Previous Next |
A TableModel can be easily exported to an OutputStream via the various ExportManager implementations. ExportManagers need to implement the method:
public void write(javax.swing.table.TableModel model, java.io.OutputStream out);
You can use DelimitedExportManager to write a table model in a delimited format or XMLExportManager to create an XML document.