com.solab.iso8583.parse
Class LlvarParseInfo

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

public class LlvarParseInfo
extends FieldParseInfo

This class is used to parse fields of type LLVAR.

Author:
Enrique Zamudio

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

LlvarParseInfo

public LlvarParseInfo()
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

parseBinary

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


Copyright © 2011 Enrique Zamudio. All Rights Reserved.