jPOS 1.6.1 API Documentation

org.jpos.iso
Class IFB_LLHFBINARY

java.lang.Object
  extended by org.jpos.iso.ISOFieldPackager
      extended by org.jpos.iso.IFB_LLHFBINARY

public class IFB_LLHFBINARY
extends ISOFieldPackager

ISOFieldPackager Binary Hex Fixed LLBINARY

Version:
$Id: IFB_LLHFBINARY.java 2594 2008-01-22 16:41:31Z apr $
Author:
apr@cs.com.uy
See Also:
ISOComponent

Constructor Summary
IFB_LLHFBINARY()
           
IFB_LLHFBINARY(int len, java.lang.String description)
           
 
Method Summary
 ISOComponent createComponent(int fieldNumber)
           
 int getMaxPackedLength()
           
 byte[] pack(ISOComponent c)
           
 int unpack(ISOComponent c, byte[] b, int offset)
           
 void unpack(ISOComponent c, java.io.InputStream in)
           
 
Methods inherited from class org.jpos.iso.ISOFieldPackager
getDescription, getLength, pack, setDescription, setLength, setPad
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IFB_LLHFBINARY

public IFB_LLHFBINARY()

IFB_LLHFBINARY

public IFB_LLHFBINARY(int len,
                      java.lang.String description)
Parameters:
len - - field len
description - symbolic descrption
Method Detail

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

unpack

public void unpack(ISOComponent c,
                   java.io.InputStream in)
            throws java.io.IOException,
                   ISOException
Overrides:
unpack in class ISOFieldPackager
Parameters:
c - - the Component to unpack
in - - input stream
Throws:
ISOException
java.io.IOException

createComponent

public ISOComponent createComponent(int fieldNumber)
Overrides:
createComponent in class ISOFieldPackager

getMaxPackedLength

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

jPOS.org