AZS

com.a2zss.ISO8583
Class LLTTVField

java.lang.Object
  extended by com.a2zss.ISO8583.LLTTVField
All Implemented Interfaces:
java.io.Serializable

public class LLTTVField
extends java.lang.Object
implements java.io.Serializable

Parser and formatter for TLV subfields wich are in format LL - length (includes the tag length and value length) TT - tag, V - the tag value

See Also:
Serialized Form

Constructor Summary
LLTTVField()
          Class consructor
LLTTVField(byte[] data)
          Class consructor
 
Method Summary
 byte[] formatTags()
          Method formatTags
 byte[] getTagValue(java.lang.String tag)
          Method getTagValue
 void parse(byte[] data)
          Method parse
 void setTagValue(java.lang.String tag, byte[] value)
          Method setTagValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LLTTVField

public LLTTVField()
Class consructor


LLTTVField

public LLTTVField(byte[] data)
           throws java.lang.Exception
Class consructor

Parameters:
data -
Throws:
java.lang.Exception
Method Detail

parse

public void parse(byte[] data)
           throws java.lang.Exception
Method parse

Parameters:
data -
Throws:
java.lang.Exception

getTagValue

public byte[] getTagValue(java.lang.String tag)
Method getTagValue

Parameters:
tag -
Returns:
the tag value or null if no such tag

setTagValue

public void setTagValue(java.lang.String tag,
                        byte[] value)
Method setTagValue

Parameters:
tag -
value -

formatTags

public byte[] formatTags()
Method formatTags

Returns:
- the formatted data of tags

AZS

Copyright © 2002-2010 AZS Services Ltd. All Rights Reserved.