Class LineOrientedFilteringReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Readable

    public abstract class LineOrientedFilteringReader
    extends Reader
    Base class for implementing line-oriented data filtering readers.

    This reader is intended to be used in DataFilter.

    Since:
    12.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • LineOrientedFilteringReader

        public LineOrientedFilteringReader​(String name,
                                           Reader input)
                                    throws IOException
        Simple constructor.
        Parameters:
        name - file name
        input - underlying raw stream
        Throws:
        IOException - if first lines cannot be read