Class IFTB_LLBINARY
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.ISOBinaryFieldPackager
org.jpos.iso.IFB_LLBINARY
org.jpos.tlv.packager.IFTB_LLBINARY
- All Implemented Interfaces:
TaggedFieldPackager
-
Field Summary
Fields inherited from class ISOFieldPackager
pad, trim -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComponent(int fieldNumber) component factoryprotected ISOFieldPackagergetToken()byte[]pack(ISOComponent c) Convert the component into a byte[].voidpack(ISOComponent c, ObjectOutput out) protected byte[]voidintunpack(ISOComponent c, byte[] b, int offset) voidunpack(ISOComponent c, InputStream in) Unpack from an input streamprotected intunpackTag(ISOComponent c, byte[] tagBytes, int offset) protected voidunpackTag(ISOComponent c, InputStream in) Methods inherited from class IFB_LLBINARY
setLengthMethods inherited from class ISOBinaryFieldPackager
checkLength, getMaxPackedLength, setInterpreter, setPrefixerMethods inherited from class ISOFieldPackager
getDescription, getLength, readBytes, setDescription, setPad, setTrim
-
Constructor Details
-
IFTB_LLBINARY
public IFTB_LLBINARY() -
IFTB_LLBINARY
-
-
Method Details
-
createComponent
Description copied from class:ISOBinaryFieldPackagercomponent factory- Overrides:
createComponentin classISOBinaryFieldPackager- Parameters:
fieldNumber- - the field number- Returns:
- the newly created component
-
setToken
- Specified by:
setTokenin interfaceTaggedFieldPackager
-
getToken
- Specified by:
getTokenin interfaceTaggedFieldPackager
-
getTagPackager
-
packTag
- Throws:
ISOException
-
unpackTag
- Throws:
ISOException
-
unpackTag
- Throws:
ISOExceptionIOException
-
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
-
pack
- Overrides:
packin classISOFieldPackager- Parameters:
c- - the Component to unpackout- - output stream- Throws:
IOExceptionISOException
-