AZS

com.a2zss.ISO8583
Class LLLTTVField

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

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

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

See Also:
Serialized Form

Constructor Summary
LLLTTVField()
          Class consructor
LLLTTVField(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

LLLTTVField

public LLLTTVField()
Class consructor


LLLTTVField

public LLLTTVField(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.