com.solab.iso8583.parse
Class AlphaNumericFieldParseInfo

java.lang.Object
  extended by com.solab.iso8583.parse.FieldParseInfo
      extended by com.solab.iso8583.parse.AlphaNumericFieldParseInfo
Direct Known Subclasses:
AlphaParseInfo, NumericParseInfo

public abstract class AlphaNumericFieldParseInfo
extends FieldParseInfo

This is the common abstract superclass to parse ALPHA and NUMERIC field types.

Author:
Enrique Zamudio

Field Summary
 
Fields inherited from class com.solab.iso8583.parse.FieldParseInfo
length, type
 
Constructor Summary
AlphaNumericFieldParseInfo(IsoType t, int len)
           
 
Method Summary
<T> IsoValue<?>
parse(byte[] buf, int pos, CustomField<T> custom)
          Parses the character data from the buffer and returns the IsoValue with the correct data type in it.
 
Methods inherited from class com.solab.iso8583.parse.FieldParseInfo
getCharacterEncoding, getInstance, getLength, getType, parseBinary, setCharacterEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlphaNumericFieldParseInfo

public AlphaNumericFieldParseInfo(IsoType t,
                                  int len)
Method Detail

parse

public <T> IsoValue<?> parse(byte[] buf,
                             int pos,
                             CustomField<T> custom)
                  throws ParseException,
                         UnsupportedEncodingException
Description copied from class: FieldParseInfo
Parses the character data from the buffer and returns the IsoValue with the correct data type in it.

Specified by:
parse in class FieldParseInfo
Throws:
ParseException
UnsupportedEncodingException


Copyright © 2011 Enrique Zamudio. All Rights Reserved.