public class ResettableReaderIteratorFactory extends ReaderIteratorFactory
c, enc| Constructor and Description |
|---|
ResettableReaderIteratorFactory()
Constructs a ResettableReaderIteratorFactory with no initial
input sources.
|
ResettableReaderIteratorFactory(Collection<?> c)
Constructs a ResettableReaderIteratorFactory from the input sources
contained in the Collection.
|
ResettableReaderIteratorFactory(Collection<?> c,
String encoding) |
ResettableReaderIteratorFactory(Object o)
Convenience constructor to construct a ResettableReaderIteratorFactory
from a single input source.
|
ResettableReaderIteratorFactory(Object o,
String encoding)
Convenience constructor to construct a ResettableReaderIteratorFactory
from a single input source.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Reader> |
iterator()
Returns an Iterator over the input sources in the underlying Collection.
|
add, addAll, remove, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ResettableReaderIteratorFactory(Collection<?> c)
c - Collection of input sources.public ResettableReaderIteratorFactory(Collection<?> c, String encoding)
public ResettableReaderIteratorFactory(Object o)
o - An input source that can be converted into a Readerpublic ResettableReaderIteratorFactory(Object o, String encoding)
o - An input source that can be converted into a Readerencoding - The character encoding of a File or URLpublic ResettableReaderIteratorFactory()