Package org.jpos.iso
Class IFMC_TCC
- java.lang.Object
-
- org.jpos.iso.ISOFieldPackager
-
- org.jpos.iso.ISOStringFieldPackager
-
- org.jpos.iso.IF_CHAR
-
- org.jpos.iso.IFMC_TCC
-
-
Field Summary
-
Fields inherited from class org.jpos.iso.ISOFieldPackager
pad, trim
-
-
Constructor Summary
Constructors Constructor Description IFMC_TCC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
pack(ISOComponent c)
Convert the component into a byte[].int
unpack(ISOComponent c, byte[] b, int offset)
Unpacks the byte array into the component.-
Methods inherited from class org.jpos.iso.ISOStringFieldPackager
checkLength, getMaxPackedLength, setInterpreter, setPadder, setPrefixer, setTrim, unpack
-
Methods inherited from class org.jpos.iso.ISOFieldPackager
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setPad
-
-
-
-
Constructor Detail
-
IFMC_TCC
public IFMC_TCC()
-
-
Method Detail
-
pack
public byte[] pack(ISOComponent c) throws ISOException
Description copied from class:ISOStringFieldPackager
Convert the component into a byte[].- Overrides:
pack
in classISOStringFieldPackager
- Parameters:
c
- - a component- Returns:
- byte array representation of component
- Throws:
ISOException
-
unpack
public int unpack(ISOComponent c, byte[] b, int offset) throws ISOException
Description copied from class:ISOStringFieldPackager
Unpacks the byte array into the component.- Overrides:
unpack
in classISOStringFieldPackager
- Parameters:
c
- The component to unpack into.b
- The byte array to unpack.offset
- The index in the byte array to start unpacking from.- Returns:
- The number of bytes consumed unpacking the component.
- Throws:
ISOException
-
-