Class NewickTreeReader

  extended by
      extended by
          extended by
              extended by

public class NewickTreeReader
extends AbstractTreeReader

Read Trees in Newick format, usually for phylogenetic trees.

$Revision: 1.16 $
Jean-Daniel Fekete
InfoVis factory arguments:
TreeReaderFactory nh

Constructor Summary
NewickTreeReader(InputStream in, String name, Tree tree)
          Constructor for NewickTreeReader.
Method Summary
 boolean load()
          Main method for loading the file.
Methods inherited from class
Methods inherited from class
close, getBuffer, getBufferedReader, getCommentChar, getField, getIn, getTable, ignoreLine, isEof, read, readInt, readLine, readQuoted, setBuffer, setCommentChar, setEof, setTable, skipToEol
Methods inherited from class
createColumn, getEncoding, getName, guessFieldType, setEncoding, setIn, setName
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NewickTreeReader(InputStream in,
                        String name,
                        Tree tree)
Constructor for NewickTreeReader.

in -
name -
tree -
Method Detail


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
true if the file has been loaded without error, false otherwise.
See Also:

Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.