infovis.tree.io
Class NewickTreeReader
java.lang.Object
infovis.io.AbstractReader
infovis.table.io.AbstractTableReader
infovis.tree.io.AbstractTreeReader
infovis.tree.io.NewickTreeReader
public class NewickTreeReader
- extends AbstractTreeReader
Read Trees in Newick format, usually for phylogenetic trees.
- Version:
- $Revision: 1.16 $
- Author:
- Jean-Daniel Fekete
- InfoVis factory arguments:
- TreeReaderFactory nh
Method Summary |
boolean |
load()
Main method for loading the file. |
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 |
NewickTreeReader
public NewickTreeReader(InputStream in,
String name,
Tree tree)
- Constructor for NewickTreeReader.
- Parameters:
in
- name
- tree
-
load
public boolean load()
- 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.
- See Also:
AbstractReader.load()
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.