com.solab.iso8583.parse
Class Date4ParseInfo

java.lang.Object
  extended by com.solab.iso8583.parse.FieldParseInfo
      extended by com.solab.iso8583.parse.Date4ParseInfo

public class Date4ParseInfo
extends FieldParseInfo

This class is used to parse fields of type DATE4.

Author:
Enrique Zamudio

Field Summary
 
Fields inherited from class com.solab.iso8583.parse.FieldParseInfo
length, type
 
Constructor Summary
Date4ParseInfo()
           
 
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.
<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.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

Date4ParseInfo

public Date4ParseInfo()
Method Detail

parse

public <T> IsoValue<?> parse(byte[] buf,
                             int pos,
                             CustomField<T> custom)
                  throws ParseException
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

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.