henplus.importparser
Interface ValueRecipient


public interface ValueRecipient

A Recipient of a value parsed by the TypeParser.


Method Summary
 boolean finishRow()
          Signal the Value Recipient, that a complete row has been read.
 void setDate(int fieldNumber, Calendar cal)
           
 void setLong(int fieldNumber, long value)
           
 void setString(int fieldNumber, String value)
           
 

Method Detail

setLong

void setLong(int fieldNumber,
             long value)
             throws Exception
Throws:
Exception

setString

void setString(int fieldNumber,
               String value)
               throws Exception
Throws:
Exception

setDate

void setDate(int fieldNumber,
             Calendar cal)
             throws Exception
Throws:
Exception

finishRow

boolean finishRow()
                  throws Exception
Signal the Value Recipient, that a complete row has been read.

Returns:
true, if the ValueRecipient has read all rows and does not want to receive further rows.
Throws:
Exception


? 1997..2006 Henner Zeller