public class IFTB_LLBINARY extends IFB_LLBINARY implements TaggedFieldPackager
pad, trim| Constructor and Description |
|---|
IFTB_LLBINARY() |
IFTB_LLBINARY(int len,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
ISOComponent |
createComponent(int fieldNumber)
component factory
|
protected ISOFieldPackager |
getTagPackager() |
java.lang.String |
getToken() |
byte[] |
pack(ISOComponent c)
Convert the component into a byte[].
|
void |
pack(ISOComponent c,
java.io.ObjectOutput out) |
protected byte[] |
packTag(ISOComponent c) |
void |
setToken(java.lang.String token) |
int |
unpack(ISOComponent c,
byte[] b,
int offset) |
void |
unpack(ISOComponent c,
java.io.InputStream in)
Unpack from an input stream
|
protected int |
unpackTag(ISOComponent c,
byte[] tagBytes,
int offset) |
protected void |
unpackTag(ISOComponent c,
java.io.InputStream in) |
setLengthcheckLength, getMaxPackedLength, setInterpreter, setPrefixergetDescription, getLength, readBytes, setDescription, setPad, setTrimpublic IFTB_LLBINARY()
public IFTB_LLBINARY(int len,
java.lang.String description)
public ISOComponent createComponent(int fieldNumber)
ISOBinaryFieldPackagercreateComponent in class ISOBinaryFieldPackagerfieldNumber - - the field numberpublic void setToken(java.lang.String token)
setToken in interface TaggedFieldPackagerpublic java.lang.String getToken()
getToken in interface TaggedFieldPackagerprotected ISOFieldPackager getTagPackager()
protected byte[] packTag(ISOComponent c) throws ISOException
ISOExceptionprotected int unpackTag(ISOComponent c, byte[] tagBytes, int offset) throws ISOException
ISOExceptionprotected void unpackTag(ISOComponent c, java.io.InputStream in) throws ISOException, java.io.IOException
ISOExceptionjava.io.IOExceptionpublic byte[] pack(ISOComponent c) throws ISOException
ISOBinaryFieldPackagerpack in class ISOBinaryFieldPackagerc - - a componentISOExceptionpublic int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
unpack in class ISOBinaryFieldPackagerc - - 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
ISOBinaryFieldPackagerunpack in class ISOBinaryFieldPackagerc - - the Component to unpackin - - input streamISOExceptionjava.io.IOExceptionpublic void pack(ISOComponent c, java.io.ObjectOutput out) throws java.io.IOException, ISOException
pack in class ISOFieldPackagerc - - the Component to unpackout - - output streamjava.io.IOExceptionISOException