com.norconex.commons.lang.io
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
 boolean accept(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:
true if line is accepted


Copyright © 2008-2013 Norconex Inc.. All Rights Reserved.