org.jpos.iso
Class IFEB_LLLNUM
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.IFEB_LLLNUM
public class IFEB_LLLNUM
- extends ISOFieldPackager
EBCDIC version of IFB_LLLNUM
Uses a 2 EBCDIC byte length field
- Version:
- $Id$
- Author:
- julien.moebs@paybox.net
- See Also:
ISOFieldPackager,
ISOComponent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IFEB_LLLNUM
public IFEB_LLLNUM()
IFEB_LLLNUM
public IFEB_LLLNUM(int len,
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
getMaxPackedLength
public int getMaxPackedLength()
- Specified by:
getMaxPackedLength in class ISOFieldPackager
Copyright © 1998-2012 jPOS.org. All Rights Reserved.