com.townleyenterprises.io
Interface LineProcessor

All Known Implementing Classes:
AbstractLineProcessor

public interface LineProcessor

This interface is used to provide line-based processing of text files.

Since:
2.1
Version:
$Id: LineProcessor.java,v 1.1 2004/01/26 18:49:36 atownley Exp $
Author:
Andrew S. Townley

Method Summary
 void processLine(java.lang.String line)
          This method gets called for each line processed containing the text of the line.
 void reset()
          This method gets called to reset any internal state maintained by the instance prior to starting any input.
 

Method Detail

processLine

public void processLine(java.lang.String line)
                 throws java.lang.Exception
This method gets called for each line processed containing the text of the line.

Parameters:
line - the line of the input file
Throws:
java.lang.Exception - if an error occurs processing the line

reset

public void reset()
This method gets called to reset any internal state maintained by the instance prior to starting any input.



Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.