simkin
Class TreeNodeReader

java.lang.Object
  |
  +--simkin.TreeNodeReader

public final class TreeNodeReader
extends java.lang.Object

This class is a parser for TreeNode text and binary files


Constructor Summary
TreeNodeReader(java.io.InputStream in)
          Constructor - is passed an input stream
TreeNodeReader(java.io.Reader in)
          Constructor - is passed a reader
 
Method Summary
 TreeNode read()
          this function invokes the parser and returns a TreeNode representing the contents of the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeNodeReader

public TreeNodeReader(java.io.InputStream in)
Constructor - is passed an input stream


TreeNodeReader

public TreeNodeReader(java.io.Reader in)
Constructor - is passed a reader

Method Detail

read

public TreeNode read()
              throws java.io.IOException
this function invokes the parser and returns a TreeNode representing the contents of the stream. The function will throw an IOException if there was an error in this process.

java.io.IOException