public class IFEP_LLLBINARY extends ISOBinaryFieldPackager implements GenericPackagerParams
pad, trim| Constructor and Description |
|---|
IFEP_LLLBINARY() |
IFEP_LLLBINARY(int length,
java.lang.String description) |
IFEP_LLLBINARY(int length,
java.lang.String description,
BinaryInterpreter binaryInterpreter,
Prefixer prefixer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxPackedLength() |
byte[] |
pack(ISOComponent c)
Convert the component into a byte[].
|
void |
setGenericPackagerParams(org.xml.sax.Attributes atts) |
int |
unpack(ISOComponent c,
byte[] b,
int offset) |
void |
unpack(ISOComponent c,
java.io.InputStream in)
Unpack from an input stream
|
checkLength, createComponent, setInterpreter, setPrefixergetDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrimpublic IFEP_LLLBINARY()
public IFEP_LLLBINARY(int length,
java.lang.String description)
public IFEP_LLLBINARY(int length,
java.lang.String description,
BinaryInterpreter binaryInterpreter,
Prefixer prefixer)
public void setGenericPackagerParams(org.xml.sax.Attributes atts)
setGenericPackagerParams in interface GenericPackagerParamspublic 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 int getMaxPackedLength()
getMaxPackedLength in class ISOBinaryFieldPackager