com.solab.iso8583.parse
Class NumericParseInfo

java.lang.Object
  extended by com.solab.iso8583.parse.FieldParseInfo
      extended by com.solab.iso8583.parse.AlphaNumericFieldParseInfo
          extended by com.solab.iso8583.parse.NumericParseInfo

public class NumericParseInfo
extends AlphaNumericFieldParseInfo

This class is used to parse NUMERIC fields.

Author:
Enrique Zamudio

Field Summary
 
Fields inherited from class com.solab.iso8583.parse.FieldParseInfo
length, type
 
Constructor Summary
NumericParseInfo(int len)
           
 
Method Summary
<T> IsoValue<?>
parseBinary(byte[] buf, int pos, CustomField<T> custom)
          Parses binary data from the buffer, creating and returning an IsoValue of the configured type and length.
 
Methods inherited from class com.solab.iso8583.parse.AlphaNumericFieldParseInfo
parse
 
Methods inherited from class com.solab.iso8583.parse.FieldParseInfo
getCharacterEncoding, getInstance, getLength, getType, setCharacterEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericParseInfo

public NumericParseInfo(int len)
Method Detail

parseBinary

public <T> IsoValue<?> parseBinary(byte[] buf,
                                   int pos,
                                   CustomField<T> custom)
                        throws ParseException
Description copied from class: FieldParseInfo
Parses binary data from the buffer, creating and returning an IsoValue of the configured type and length.

Specified by:
parseBinary in class FieldParseInfo
Throws:
ParseException


Copyright © 2011 Enrique Zamudio. All Rights Reserved.