org.jpos.iso
Class IF_ECHAR

java.lang.Object
  extended by org.jpos.iso.ISOFieldPackager
      extended by 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$
Author:
apr@cs.com.uy
See Also:
IF_CHAR, ISOComponent

Field Summary
 
Fields inherited from class org.jpos.iso.ISOFieldPackager
pad
 
Constructor Summary
IF_ECHAR()
          Deprecated.  
IF_ECHAR(int len, String description)
          Deprecated.  
 
Method Summary
 int getMaxPackedLength()
          Deprecated.  
 byte[] pack(ISOComponent c)
          Deprecated.  
 int unpack(ISOComponent c, byte[] b, int offset)
          Deprecated.  
 
Methods inherited from class org.jpos.iso.ISOFieldPackager
createComponent, getDescription, getLength, pack, readBytes, setDescription, setLength, setPad, unpack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IF_ECHAR

public IF_ECHAR()
Deprecated. 

IF_ECHAR

public IF_ECHAR(int len,
                String description)
Deprecated. 
Parameters:
len - - field len
description - symbolic descrption
Method Detail

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 unpack
b - - binary image
offset - - starting offset within the binary image
Returns:
consumed bytes
Throws:
ISOException

getMaxPackedLength

public int getMaxPackedLength()
Deprecated. 
Specified by:
getMaxPackedLength in class ISOFieldPackager


Copyright © 1998-2012 jPOS.org. All Rights Reserved.