org.jpos.iso
Class IFB_AMOUNT
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.IFB_AMOUNT
public class IFB_AMOUNT
- extends ISOFieldPackager
ISOFieldPackager Binary Amount
- Version:
- $Id$
- Author:
- apr@cs.com.uy
- See Also:
ISOComponent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IFB_AMOUNT
public IFB_AMOUNT()
IFB_AMOUNT
public IFB_AMOUNT(int len,
String description,
boolean pad)
- Parameters:
len - - field lendescription - symbolic descrption
setPad
public void setPad(boolean pad)
- Overrides:
setPad in class ISOFieldPackager
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
getMaxPackedLength
public int getMaxPackedLength()
- Specified by:
getMaxPackedLength in class ISOFieldPackager
Copyright © 1998-2012 jPOS.org. All Rights Reserved.