Interface ReaderSource

All Superinterfaces:
FilterSource, RegistryContext
All Known Implementing Classes:
FileSource, LazyFilter, NullSource, PreferencesFile, ReaderSourceImpl, StreamAdapter

public interface ReaderSource extends FilterSource
This subinterface of FilterSource has to be implemented by filter sources whose flavor supports Readers (IOFlavor.READER). It represents the data by an instance of Reader, i.e., as a stream of characters.
Author:
Ole Kniemeyer
  • Method Details

    • getReader

      Reader getReader() throws IOException
      Returns a reader to obtain the data as a stream of characters.
      Returns:
      a reader for the data
      Throws:
      IOException