Class IFMC_LLBINARY
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.ISOBinaryFieldPackager
org.jpos.iso.ISOTagBinaryFieldPackager
org.jpos.iso.IFMC_LLBINARY
Binary version of IFMC_LLCHAR
- See Also:
-
Field Summary
Fields inherited from class ISOFieldPackager
pad, trim -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.IFMC_LLBINARY(int len, String description) Constructs a packager with the given length and description. -
Method Summary
Methods inherited from class ISOTagBinaryFieldPackager
getMaxPackedLength, pack, setInterpreter, setPadder, setPrefixer, unpack, unpackModifier and TypeMethodDescriptionintReturns the prefixer's packed length and the interpreter's packed length.byte[]pack(ISOComponent c) Convert the component into a byte[].voidsetInterpreter(BinaryInterpreter interpreter) Sets the Interpreter.voidSets the Padder.voidsetPrefixer(Prefixer prefixer) Sets the length prefixer.intunpack(ISOComponent c, byte[] b, int offset) Unpacks the byte array into the component.voidunpack(ISOComponent c, InputStream in) Unpack the input stream into the component.Methods inherited from class ISOBinaryFieldPackager
checkLength, createComponentModifier and TypeMethodDescriptionprotected voidcheckLength(int len, int maxLength) Checks the length of the data against the maximum, and throws an IllegalArgumentException.createComponent(int fieldNumber) component factoryMethods inherited from class ISOFieldPackager
getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrimModifier and TypeMethodDescriptionReturns the field description.intReturns the maximum field length.voidpack(ISOComponent c, ObjectOutput out) Packs the component to an ObjectOutput stream.protected byte[]readBytes(InputStream in, int l) Reads exactlylbytes from the input stream.voidsetDescription(String description) Sets the field description.voidsetLength(int len) Sets the maximum field length.voidsetPad(boolean pad) Enables or disables padding for this field.voidsetTrim(boolean trim) Enables or disables trimming for this field.
-
Constructor Details
-
IFMC_LLBINARY
public IFMC_LLBINARY()Default constructor. -
IFMC_LLBINARY
Constructs a packager with the given length and description.- Parameters:
len- field lengthdescription- field description
-