Class BaseParamFilterReader

All Implemented Interfaces:
Closeable, AutoCloseable, Readable, Parameterizable
Direct Known Subclasses:
ConcatFilter, EscapeUnicode, FixCrLfFilter, HeadFilter, LineContains, LineContainsRegExp, PrefixLines, ReplaceTokens, SortFilter, StripLineBreaks, StripLineComments, SuffixLines, TabsToSpaces, TailFilter

public abstract class BaseParamFilterReader extends BaseFilterReader implements Parameterizable
Parameterized base class for core filter readers.
  • Constructor Details

    • BaseParamFilterReader

      public BaseParamFilterReader()
      Constructor for "dummy" instances.
      See Also:
    • BaseParamFilterReader

      public BaseParamFilterReader(Reader in)
      Creates a new filtered reader.
      in - A Reader object providing the underlying stream. Must not be null.
  • Method Details

    • setParameters

      public final void setParameters(Parameter... parameters)
      Sets the parameters used by this filter, and sets the filter to an uninitialized status.
      Specified by:
      setParameters in interface Parameterizable
      parameters - The parameters to be used by this filter. Should not be null.
    • getParameters

      protected final Parameter[] getParameters()
      Returns the parameters to be used by this filter.
      the parameters to be used by this filter