Interface IInputStreamFilter

All Known Implementing Classes:
RegexInputStreamFilter

public interface IInputStreamFilter
Filters lines of text read from an InputStream decorated with FilteredInputStream.
Author:
Pascal Essiembre
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(String line)
    Whether a line is "accepted" or not.
  • Method Details

    • accept

      boolean accept(String line)
      Whether a line is "accepted" or not. An accepted line is being returned when read.
      Parameters:
      line - line being read
      Returns:
      true if line is accepted