henplus.importparser
Class StringParser

java.lang.Object
  extended by henplus.importparser.TypeParser
      extended by henplus.importparser.StringParser

public final class StringParser
extends TypeParser

A parser for a specific type. Different implementations


Constructor Summary
StringParser(int field)
           
 
Method Summary
 void parse(char[] buffer, int offset, int len, ValueRecipient recipient)
          parse the value from the character buffer starting from the given offset and with the given length.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringParser

public StringParser(int field)
Method Detail

parse

public void parse(char[] buffer,
                  int offset,
                  int len,
                  ValueRecipient recipient)
           throws Exception
parse the value from the character buffer starting from the given offset and with the given length. Store the result in the ValueRecipient.

Specified by:
parse in class TypeParser
Throws:
Exception


? 1997..2006 Henner Zeller