|
BioLegato 0.7.5 table plugin | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
org.biolegato.tables.CSVFile
public class CSVFile
CSV file format parser.
| Constructor Summary | |
|---|---|
CSVFile()
Creates a new instance of CSVFile |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File file)
Determines whether or not a specified file is of type GenBank file (based on extension). |
java.lang.String |
getDescription()
Returns a description of the file format that can be displayed to the user. |
boolean |
isFormat(java.io.Reader test)
Used to auto-detect Bio Legato formats |
static void |
readFile(javax.swing.table.DefaultTableModel table,
java.io.File currentFile)
|
static void |
writeFile(java.io.File currentFile,
java.lang.String[][] data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVFile()
| Method Detail |
|---|
public boolean accept(java.io.File file)
accept in class javax.swing.filechooser.FileFilterfile - the file to test
FileFilter.accept(java.io.File)public java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterFileFilter.getDescription()public boolean isFormat(java.io.Reader test)
test - the reader to parse data from
public static void readFile(javax.swing.table.DefaultTableModel table,
java.io.File currentFile)
public static void writeFile(java.io.File currentFile,
java.lang.String[][] data)
|
BioLegato 0.7.5 table plugin | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||