T - The type of object being read.public abstract class AbstractReader<T> extends AbstractObjectWithProperties implements Reader<T>
Reader interface,
which provides implementations of read() and visit(Visitor)
which use the Reader.iterator() method which must be implemented by
subclasses.| Constructor and Description |
|---|
AbstractReader() |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
read()
Read all items and return a List containing the items.
|
void |
visit(Visitor<T> visitor)
Visit each item returned from the reader until all items have been visited
or the visit method returns false.
|
clearProperties, close, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setProperties, setProperty, setPropertySoft, setPropertyWeakCopyright © 2015 Revolution Systems Inc.. All rights reserved.