public class IF_FSTBINARY extends ISOFieldPackager implements TaggedFieldPackager
pad, trim| Constructor and Description |
|---|
IF_FSTBINARY() |
IF_FSTBINARY(int len,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxPackedLength() |
java.lang.String |
getToken() |
byte[] |
pack(ISOComponent c) |
void |
setToken(java.lang.String token) |
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 IF_FSTBINARY()
public IF_FSTBINARY(int len,
java.lang.String description)
len - - field lendescription - symbolic descrptionpublic void setToken(java.lang.String token)
setToken in interface TaggedFieldPackagerpublic java.lang.String getToken()
getToken in interface TaggedFieldPackagerpublic 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