org.pf.file
Interface LineProcessor


public interface LineProcessor

A simple interface that allows processing a longer text line by line. Usually used together with FileUtil.processTextLines().

Version:
1.0
Author:
Manfred Duchrow

Method Summary
 boolean processLine(String line, int lineNo)
          Processes the given line and returns true if the caller should continue.
 

Method Detail

processLine

boolean processLine(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 linen number (starting with 1)