public class TOFReader
extends java.lang.Object
| Constructor and Description |
|---|
TOFReader(java.io.Reader instream)
Creates a TOFReader on the given input stream.
|
TOFReader(java.io.Reader instream,
LookupDatabase lookup)
Creates a TOFReader on the given input stream with the given lookup
database.
|
TOFReader(java.io.Reader instream,
LookupDatabase lookup,
StructuredStore store,
java.lang.String basePath)
Creates a TOFReader on the given input stream with the given lookup
database, import store, and base path.
|
TOFReader(java.io.Reader instream,
TOFObjectFactory factory)
Creates a TOFReader with the provided custom TOFObjectFactory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.Object |
readObject()
Reads a single object.
|
public TOFReader(java.io.Reader instream)
Buffering is included; no extra charge.
public TOFReader(java.io.Reader instream,
LookupDatabase lookup)
Buffering is included; no extra charge.
public TOFReader(java.io.Reader instream,
LookupDatabase lookup,
StructuredStore store,
java.lang.String basePath)
Buffering is included; no extra charge.
public TOFReader(java.io.Reader instream,
TOFObjectFactory factory)
public java.lang.Object readObject()
throws java.io.EOFException,
java.io.IOException
java.io.EOFExceptionjava.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOException