Class IFELPE_LLLCHAR
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.IFELPE_LLLCHAR
ISOFieldPackager ASCII variable len CHAR
suitable for GICC subfield 60
Format LLLTT....
Where LLL is the 3 digit field length
TT is the 2 digit field number (Tag)
is the field content
-
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
-
IFELPE_LLLCHAR
public IFELPE_LLLCHAR() -
IFELPE_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
-