public class ResettableReaderIteratorFactory extends ReaderIteratorFactory
c, enc
Constructor and Description |
---|
ResettableReaderIteratorFactory()
Constructs a ResettableReaderIteratorFactory with no initial
input sources.
|
ResettableReaderIteratorFactory(java.util.Collection<?> c)
Constructs a ResettableReaderIteratorFactory from the input sources
contained in the Collection.
|
ResettableReaderIteratorFactory(java.util.Collection<?> c,
java.lang.String encoding) |
ResettableReaderIteratorFactory(java.lang.Object o)
Convenience constructor to construct a ResettableReaderIteratorFactory
from a single input source.
|
ResettableReaderIteratorFactory(java.lang.Object o,
java.lang.String encoding)
Convenience constructor to construct a ResettableReaderIteratorFactory
from a single input source.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.io.Reader> |
iterator()
Returns an Iterator over the input sources in the underlying Collection.
|
add, addAll, remove, removeAll, retainAll
public ResettableReaderIteratorFactory(java.util.Collection<?> c)
c
- Collection of input sources.public ResettableReaderIteratorFactory(java.util.Collection<?> c, java.lang.String encoding)
public ResettableReaderIteratorFactory(java.lang.Object o)
o
- An input source that can be converted into a Readerpublic ResettableReaderIteratorFactory(java.lang.Object o, java.lang.String encoding)
o
- An input source that can be converted into a Readerencoding
- The character encoding of a File or URLpublic ResettableReaderIteratorFactory()
public java.util.Iterator<java.io.Reader> iterator()
iterator
in interface java.lang.Iterable<java.io.Reader>
iterator
in class ReaderIteratorFactory