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 ISOPackagerc - the Component to packISOException - on errorpublic int unpack(ISOComponent m, byte[] b) throws ISOException
unpack in interface ISOPackagerm - 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 ISOPackagerjava.io.IOExceptionISOExceptionpublic java.lang.String getDescription()
getDescription in interface ISOPackagerpublic java.lang.String getFieldDescription(ISOComponent m, int fldNumber)
getFieldDescription in interface ISOPackagerm - the Container (i.e. an ISOMsg)fldNumber - the Field Numberpublic ISOMsg createISOMsg()
createISOMsg in interface ISOPackager