infovis.tree.io
Class FileListTreeReader
java.lang.Object
infovis.io.AbstractReader
infovis.table.io.AbstractTableReader
infovis.tree.io.AbstractTreeReader
infovis.tree.io.FileListTreeReader
public class FileListTreeReader
- extends AbstractTreeReader
Class FileListTreeReader
Creates a tree from a list of file names, one per line.
- Version:
- $Revision: 1.15 $
- Author:
- Jean-Daniel Fekete
Methods inherited from class infovis.table.io.AbstractTableReader |
close, getBuffer, getBufferedReader, getCommentChar, getField, getIn, getTable, ignoreLine, isEof, read, readInt, readLine, readQuoted, setBuffer, setCommentChar, setEof, setTable, skipToEol |
FileListTreeReader
public FileListTreeReader(InputStream in,
String name,
Tree tree)
load
public boolean load()
throws WrongFormatException
- Description copied from class:
AbstractReader
- 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.
- Specified by:
load
in class AbstractReader
- Returns:
- true if the file has been loaded without error, false otherwise.
- Throws:
WrongFormatException
- if the format is not the one expected.
getPrefix
public String getPrefix()
setPrefix
public void setPrefix(String string)
getSeparator
public String getSeparator()
setSeparator
public void setSeparator(String string)
getIndexColumn
public IntColumn getIndexColumn()
setIndexColumn
public void setIndexColumn(IntColumn column)
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.