java.lang.Object
cl.netswitch.iso.iso8583.IsoDecoder<M>
cl.netswitch.iso.iso8583.IsoTlvDecoder<M>
- Type Parameters:
M
- the type of the ISO message.
An
IsoDecoder
with TLV (Tag-Length-Value) support.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
decodeTLV2
(String tlv, boolean hasTCC, IsoTlvElements elements) Decodes subelements in a TLV string "[TCC][ID][LL][DATA]...
".protected void
decodeTLV3
(String tlv, IsoTlvElements elements) Decodes subelements in a TLV string "[ID][LLL][DATA]...
".Methods inherited from class cl.netswitch.iso.iso8583.IsoDecoder
decode, postDecode, preDecode
-
Constructor Details
-
IsoTlvDecoder
Constructs a newIsoTlvDecoder
instance.- Parameters:
fields
- the fields that describe a message.- Throws:
NullPointerException
- iffields
isnull
.IsoException
- if required fields are not defined.
-
-
Method Details
-
decodeTLV2
Decodes subelements in a TLV string "[TCC][ID][LL][DATA]...
".- Parameters:
tlv
- a TLV string "[TCC][ID][LL][DATA]...
".hasTCC
- iftrue
parse "Transaction Category Code".elements
- where the TCC and subelements are stored.- Throws:
NullPointerException
- if an argument isnull
.IsoException
- if an expected decode error occurs.
-
decodeTLV3
Decodes subelements in a TLV string "[ID][LLL][DATA]...
".- Parameters:
tlv
- a TLV string "[ID][LLL][DATA]...
".elements
- where the subelements are stored.- Throws:
NullPointerException
- if an argument isnull
.IsoException
- if an expected decode error occurs.
-