Package com.norconex.commons.lang.io
Interface IInputStreamFilter
-
- All Known Implementing Classes:
RegexInputStreamFilter
public interface IInputStreamFilterFilters lines of text read from an InputStream decorated withFilteredInputStream.- Author:
- Pascal Essiembre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(String line)Whether a line is "accepted" or not.
-
-
-
Method Detail
-
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:
trueif line is accepted
-
-