Interface IInputStreamFilter

All Superinterfaces:
Predicate<String>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated(since="3.0.0") @FunctionalInterface public interface IInputStreamFilter extends Predicate<String>
Deprecated.
use a String Predicate instead
Filters lines of text read from an InputStream decorated with FilteredInputStream.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(String line)
    Deprecated.
    Whether a line is "accepted" or not.
    default boolean
    test(String line)
    Deprecated.
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • test

      default boolean test(String line)
      Deprecated.
      Specified by:
      test in interface Predicate<String>
    • accept

      boolean accept(String line)
      Deprecated.
      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