org.jpos.iso
Class IFEP_LLCHAR
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.IFEP_LLCHAR
public class IFEP_LLCHAR
- extends ISOFieldPackager
ISOFieldPackager ASCII variable len CHAR
suitable for EuroPay subfield 48
Format LLTT....
Where LL is the 2 digit field length
TT is the 2 digit field number (Tag)
is the field content
- Version:
- $Id$
- Author:
- Eoin Flood
- See Also:
ISOComponent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IFEP_LLCHAR
public IFEP_LLCHAR()
IFEP_LLCHAR
public IFEP_LLCHAR(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
unpack
public void unpack(ISOComponent c,
InputStream in)
throws IOException,
ISOException
- Overrides:
unpack in class ISOFieldPackager
- Parameters:
c - - the Component to unpackin - - input stream
- Throws:
ISOException
IOException
getMaxPackedLength
public int getMaxPackedLength()
- Specified by:
getMaxPackedLength in class ISOFieldPackager
Copyright © 1998-2012 jPOS.org. All Rights Reserved.