org.jpos.iso
Class IF_ECHAR
java.lang.Object
org.jpos.iso.ISOFieldPackager
org.jpos.iso.IF_ECHAR
Deprecated. Use IFE_CHAR instead
public class IF_ECHAR
- extends ISOFieldPackager
ISOFieldPackager CHARACTERS (ASCII & BINARY)
EBCDIC version of IF_CHAR
- Version:
- $Id: IF_ECHAR.java 2594 2008-01-22 16:41:31Z apr $
- Author:
- apr@cs.com.uy
- See Also:
IF_CHAR,
ISOComponent
|
Constructor Summary |
IF_ECHAR()
Deprecated. |
IF_ECHAR(int len,
java.lang.String description)
Deprecated. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IF_ECHAR
public IF_ECHAR()
- Deprecated.
IF_ECHAR
public IF_ECHAR(int len,
java.lang.String description)
- Deprecated.
- Parameters:
len - - field lendescription - symbolic descrption
pack
public byte[] pack(ISOComponent c)
throws ISOException
- Deprecated.
- 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
- Deprecated.
- 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()
- Deprecated.
- Specified by:
getMaxPackedLength in class ISOFieldPackager