public class IFIPM_LLLCHAR extends ISOFieldPackager
Format TTLL....
Where
TTTT is the 4 digit field number (Tag)
LLL is the 3 digit field length
.. is the field content
IFEP_LLCHAR
pad, trim
Constructor and Description |
---|
IFIPM_LLLCHAR() |
IFIPM_LLLCHAR(int len,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxPackedLength() |
byte[] |
pack(ISOComponent c) |
int |
unpack(ISOComponent c,
byte[] b,
int offset) |
void |
unpack(ISOComponent c,
java.io.InputStream in) |
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrim
public IFIPM_LLLCHAR()
public IFIPM_LLLCHAR(int len, java.lang.String description)
len
- - field lendescription
- symbolic descrptionpublic byte[] pack(ISOComponent c) throws ISOException
pack
in class ISOFieldPackager
c
- - a componentISOException
public int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
unpack
in class ISOFieldPackager
c
- - the Component to unpackb
- - binary imageoffset
- - starting offset within the binary imageISOException
public void unpack(ISOComponent c, java.io.InputStream in) throws java.io.IOException, ISOException
unpack
in class ISOFieldPackager
c
- - the Component to unpackin
- - input streamISOException
java.io.IOException
public int getMaxPackedLength()
getMaxPackedLength
in class ISOFieldPackager