org.jpos.iso
Class IFB_BITMAP
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.ISOBitMapPackager
org.jpos.iso.IFB_BITMAP
public class IFB_BITMAP
- extends ISOBitMapPackager
ISOFieldPackager Binary Bitmap
- Version:
- $Id: IFB_BITMAP.java 2607 2008-02-20 22:44:37Z apr $
- Author:
- apr@cs.com.uy
- See Also:
ISOComponent,
ISOBitMapPackager
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IFB_BITMAP
public IFB_BITMAP()
IFB_BITMAP
public IFB_BITMAP(int len,
java.lang.String description)
- Parameters:
len - - field lendescription - symbolic descrption
pack
public byte[] pack(ISOComponent c)
throws ISOException
- Specified by:
pack in class ISOFieldPackager
- Parameters:
c - - a component
- Returns:
- packed component
- Throws:
ISOException
unpack
public int unpack(ISOComponent c,
byte[] b,
int offset)
throws ISOException
- Specified by:
unpack in class ISOFieldPackager
- Parameters:
c - - the Component to unpackb - - binary imageoffset - - starting offset within the binary image
- Returns:
- consumed bytes
- Throws:
ISOException
unpack
public void unpack(ISOComponent c,
java.io.InputStream in)
throws java.io.IOException,
ISOException
- Overrides:
unpack in class ISOFieldPackager
- Parameters:
c - - the Component to unpackin - - input stream
- Throws:
ISOException
java.io.IOException
getMaxPackedLength
public int getMaxPackedLength()
- Specified by:
getMaxPackedLength in class ISOFieldPackager