public class IFEP_LLCHAR extends ISOFieldPackager
Format LLTT....
Where LL is the 2 digit field length
TT is the 2 digit field number (Tag)
is the field content
ISOComponentpad, trim| Constructor and Description |
|---|
IFEP_LLCHAR() |
IFEP_LLCHAR(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, setTrimpublic IFEP_LLCHAR()
public IFEP_LLCHAR(int len,
java.lang.String description)
len - - field lendescription - symbolic descrptionpublic byte[] pack(ISOComponent c) throws ISOException
pack in class ISOFieldPackagerc - - a componentISOExceptionpublic int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
unpack in class ISOFieldPackagerc - - the Component to unpackb - - binary imageoffset - - starting offset within the binary imageISOExceptionpublic void unpack(ISOComponent c, java.io.InputStream in) throws java.io.IOException, ISOException
unpack in class ISOFieldPackagerc - - the Component to unpackin - - input streamISOExceptionjava.io.IOExceptionpublic int getMaxPackedLength()
getMaxPackedLength in class ISOFieldPackager