de.grogra.pf.io
Interface ReaderSource
- All Superinterfaces:
- FilterSource, RegistryContext
- All Known Implementing Classes:
- FileSource, LazyFilter, NullSource, ReaderSourceImpl, StreamAdapter
public interface ReaderSource
- extends FilterSource
This subinterface of FilterSource
has to be implemented
by filter sources whose flavor supports Reader
s
(IOFlavor.READER
). It represents the data
by an instance of Reader
, i.e., as a stream of characters.
- Author:
- Ole Kniemeyer
Method Summary |
java.io.Reader |
getReader()
Returns a reader to obtain the data as a stream of characters. |
getReader
java.io.Reader getReader()
throws java.io.IOException
- Returns a reader to obtain the data as a stream of characters.
- Returns:
- a reader for the data
- Throws:
java.io.IOException