|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.utils.TableCSVExporter
public class TableCSVExporter
Constructor Summary | |
---|---|
TableCSVExporter()
|
Method Summary | |
---|---|
static void |
writeCSVFile(javax.swing.JTable table,
java.io.File file,
java.lang.Character separator,
java.nio.charset.Charset charset,
java.lang.Integer[] columnsToExport)
Export a JTable to the specified file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableCSVExporter()
Method Detail |
---|
public static void writeCSVFile(javax.swing.JTable table, java.io.File file, java.lang.Character separator, java.nio.charset.Charset charset, java.lang.Integer[] columnsToExport) throws java.io.IOException
Export a JTable to the specified file.
table
- Table to exportfile
- File to writeseparator
- Separator to use for separating values of a row in the CSV file. If null ',' will be used.charset
- Charset encoding for the filecolumnsToExport
- Indicates the indexes of the columns to export. All columns will be exported if null
java.io.IOException
- When an error happens while writing the file
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |