Class IFIPM_LLLCHAR
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.IFIPM_LLLCHAR
Similar to Europay format, but instead of LLTT it's TTTTLLL
Format TTLL....
Where
TTTT is the 4 digit field number (Tag)
LLL is the 3 digit field length
.. is the field content
- See Also:
-
Field Summary
Fields inherited from class ISOFieldPackager
pad, trim -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]pack(ISOComponent c) intunpack(ISOComponent c, byte[] b, int offset) voidunpack(ISOComponent c, InputStream in) Methods inherited from class ISOFieldPackager
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrim
-
Constructor Details
-
IFIPM_LLLCHAR
public IFIPM_LLLCHAR() -
IFIPM_LLLCHAR
- Parameters:
len- - field lendescription- symbolic descrption
-
-
Method Details
-
pack
- Specified by:
packin classISOFieldPackager- Parameters:
c- - a component- Returns:
- packed component
- Throws:
ISOException
-
unpack
- Specified by:
unpackin classISOFieldPackager- Parameters:
c- - the Component to unpackb- - binary imageoffset- - starting offset within the binary image- Returns:
- consumed bytes
- Throws:
ISOException
-
unpack
- Overrides:
unpackin classISOFieldPackager- Parameters:
c- - the Component to unpackin- - input stream- Throws:
ISOExceptionIOException
-
getMaxPackedLength
- Specified by:
getMaxPackedLengthin classISOFieldPackager
-