org.jpos.iso
Class IFA_LLLABINARY

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

public class IFA_LLLABINARY
extends ISOFieldPackager

ISOFieldPackager ASCII variable len BINARY

Version:
Id: IFA_LLLBINARY.java,v 1.0 1999/05/15 01:05 salaman Exp
Author:
salaman@teknos.com, Christopher.Harris@retail-logic.com
See Also:
ISOComponent

Field Summary
 
Fields inherited from class org.jpos.iso.ISOFieldPackager
pad
 
Constructor Summary
IFA_LLLABINARY()
           
IFA_LLLABINARY(int len, 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, InputStream in)
           
 
Methods inherited from class org.jpos.iso.ISOFieldPackager
getDescription, getLength, pack, readBytes, setDescription, setLength, setPad
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IFA_LLLABINARY

public IFA_LLLABINARY()

IFA_LLLABINARY

public IFA_LLLABINARY(int len,
                      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

createComponent

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

getMaxPackedLength

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

unpack

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


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