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, setPrefixer
getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrim
public 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 GenericPackagerParams
public byte[] pack(ISOComponent c) throws ISOException
ISOBinaryFieldPackager
pack
in class ISOBinaryFieldPackager
c
- - a componentISOException
public int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
unpack
in class ISOBinaryFieldPackager
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
ISOBinaryFieldPackager
unpack
in class ISOBinaryFieldPackager
c
- - the Component to unpackin
- - input streamISOException
java.io.IOException
public int getMaxPackedLength()
getMaxPackedLength
in class ISOBinaryFieldPackager