public interface TreeReader extends Closeable
TreeReader adds functionality to another Reader
by reading in Trees, or some descendant class.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the Reader behind this
TreeReader. |
Tree |
readTree()
Reads a single tree.
|
Tree readTree() throws IOException
null at end of file.IOException - If I/O problemvoid close()
throws IOException
TreeReader.close in interface AutoCloseableclose in interface CloseableIOException