Class IFEP_LLLBINARY
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.ISOBinaryFieldPackager
org.jpos.iso.IFEP_LLLBINARY
- All Implemented Interfaces:
GenericPackagerParams
-
Field Summary
Fields inherited from class ISOFieldPackager
pad, trim -
Constructor Summary
ConstructorsConstructorDescriptionIFEP_LLLBINARY(int length, String description) IFEP_LLLBINARY(int length, String description, BinaryInterpreter binaryInterpreter, Prefixer prefixer) -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]pack(ISOComponent c) Convert the component into a byte[].voidintunpack(ISOComponent c, byte[] b, int offset) voidunpack(ISOComponent c, InputStream in) Unpack from an input streamMethods inherited from class ISOBinaryFieldPackager
checkLength, createComponent, setInterpreter, setPrefixerMethods inherited from class ISOFieldPackager
getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, setTrim
-
Constructor Details
-
IFEP_LLLBINARY
public IFEP_LLLBINARY() -
IFEP_LLLBINARY
-
IFEP_LLLBINARY
public IFEP_LLLBINARY(int length, String description, BinaryInterpreter binaryInterpreter, Prefixer prefixer)
-
-
Method Details
-
setGenericPackagerParams
- Specified by:
setGenericPackagerParamsin interfaceGenericPackagerParams
-
pack
Description copied from class:ISOBinaryFieldPackagerConvert the component into a byte[].- Overrides:
packin classISOBinaryFieldPackager- Parameters:
c- - a component- Returns:
- packed component
- Throws:
ISOException
-
unpack
- Overrides:
unpackin classISOBinaryFieldPackager- Parameters:
c- - the Component to unpackb- - binary imageoffset- - starting offset within the binary image- Returns:
- consumed bytes
- Throws:
ISOException
-
unpack
Description copied from class:ISOBinaryFieldPackagerUnpack from an input stream- Overrides:
unpackin classISOBinaryFieldPackager- Parameters:
c- - the Component to unpackin- - input stream- Throws:
ISOExceptionIOException
-
getMaxPackedLength
- Overrides:
getMaxPackedLengthin classISOBinaryFieldPackager
-