infovis.table.io
Class TQDTableReader
java.lang.Object
infovis.io.AbstractReader
infovis.table.io.AbstractTableReader
infovis.table.io.CSVTableReader
infovis.table.io.TQDTableReader
public class TQDTableReader
- extends CSVTableReader
Reader of Time Series TQD format for tables.
- Version:
- $Revision: 1.15 $
- Author:
- Jean-Daniel Fekete
- InfoVis factory arguments:
- TableReaderFactory tqd
Method Summary |
boolean |
load()
Main method for loading the file. |
static boolean |
load(File file,
Table table)
Loads a file into a table. |
Methods inherited from class infovis.table.io.CSVTableReader |
addField, addLabel, defaultFieldName, getColumnAt, getField, getLabelAt, getSeparator, getSkipLines, isConsideringQuotes, isLabelLinePresent, isTypeLinePresent, nextField, setConsideringQuotes, setLabelLinePresent, setSeparator, setSkipLines, setTypeLinePresent |
Methods inherited from class infovis.table.io.AbstractTableReader |
close, getBuffer, getBufferedReader, getCommentChar, getIn, getTable, ignoreLine, isEof, read, readInt, readLine, readQuoted, setBuffer, setCommentChar, setEof, setTable, skipToEol |
TQDTableReader
public TQDTableReader(InputStream in,
String name,
Table table)
- Constructor.
- Parameters:
in
- the input streamname
- the resource nametable
- the table
load
public static boolean load(File file,
Table table)
- Loads a file into a table.
- Parameters:
file
- the filetable
- the table
- Returns:
- true if the file has been succesfuly read
load
public boolean load()
- Main method for loading the file.
The loading may fail at any point, leaving the table in an indefinite
state if the methods returns false.
- Overrides:
load
in class CSVTableReader
- Returns:
- true if the file has been loaded without error, false otherwise.
- See Also:
AbstractReader.load()
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.