public class NativePackager extends java.lang.Object implements ISOPackager
Constructor and Description |
---|
NativePackager() |
Modifier and Type | Method and Description |
---|---|
ISOMsg |
createISOMsg() |
java.lang.String |
getDescription() |
java.lang.String |
getFieldDescription(ISOComponent m,
int fldNumber) |
byte[] |
pack(ISOComponent c) |
int |
unpack(ISOComponent m,
byte[] b) |
void |
unpack(ISOComponent m,
java.io.InputStream in) |
public byte[] pack(ISOComponent c) throws ISOException
pack
in interface ISOPackager
c
- the Component to packISOException
- on errorpublic int unpack(ISOComponent m, byte[] b) throws ISOException
unpack
in interface ISOPackager
m
- the Container of this messageb
- ISO message imageISOException
- on errorpublic void unpack(ISOComponent m, java.io.InputStream in) throws java.io.IOException, ISOException
unpack
in interface ISOPackager
java.io.IOException
ISOException
public java.lang.String getDescription()
getDescription
in interface ISOPackager
public java.lang.String getFieldDescription(ISOComponent m, int fldNumber)
getFieldDescription
in interface ISOPackager
m
- the Container (i.e. an ISOMsg)fldNumber
- the Field Numberpublic ISOMsg createISOMsg()
createISOMsg
in interface ISOPackager