org.pfsw.bif.text
Interface ILineProcessor
public interface ILineProcessor
A simple interface that allows processing a longer text line by line.
Usually used as callback together with a Reader processing class.
|
Method Summary |
boolean |
processLine(java.lang.String line,
int lineNo)
Processes the given line and returns true if the caller should continue. |
processLine
boolean processLine(java.lang.String line,
int lineNo)
- Processes the given line and returns true if the caller should continue.
If false is returned, the caller should stop.
- Parameters:
line - The line to process (must not be null)lineNo - The line number (starting with 1)