public class FSDISOMsg extends ISOMsg implements java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.lang.Object |
clone(int[] fields)
Partially clone an ISOMsg
|
void |
dump(java.io.PrintStream p,
java.lang.String indent)
dump the message to a PrintStream.
|
FSDMsg |
getFSDMsg() |
java.lang.String |
getMTI() |
java.lang.String |
getString(int fldno)
Return the String value associated with the given ISOField number
|
java.lang.String |
getString(java.lang.String fld)
Return the String value associated with the given field path
|
boolean |
hasField(int fldno)
Check if a given field is present
|
boolean |
hasField(java.lang.String fld)
Check if a field indicated by a fpath is present
|
void |
merge(ISOMsg m) |
byte[] |
pack()
pack the message with the current packager
|
void |
readExternal(java.io.ObjectInput in) |
void |
set(java.lang.String name,
java.lang.String value)
Creates an ISOField associated with fldno within this ISOMsg.
|
void |
setResponseMTI()
sets an appropriate response MTI.
|
int |
unpack(byte[] b)
unpack a message
|
void |
unpack(java.io.InputStream in) |
void |
writeExternal(java.io.ObjectOutput out) |
clone, getBytes, getBytes, getChildren, getComponent, getComponent, getComposite, getDirection, getFieldNumber, getHeader, getISOHeader, getKey, getMaxField, getPackager, getSource, getTrailer, getValue, getValue, getValue, hasAny, hasAny, hasFields, hasFields, hasMTI, isAdministrative, isAuthorization, isChargeback, isFeeCollection, isFileAction, isFinancial, isIncoming, isInner, isNetworkManagement, isOutgoing, isReconciliation, isRequest, isResponse, isRetransmission, isReversal, merge, move, readDirection, readHeader, readPackager, recalcBitMap, set, set, set, set, set, setDirection, setFieldNumber, setHeader, setHeader, setMTI, setPackager, setRetransmissionMTI, setSource, setTrailer, setValue, toString, unset, unset, unset, unset, writeDirection, writeHeader, writePackagergetBytes, packpublic FSDISOMsg()
public FSDISOMsg(FSDMsg fsd)
public byte[] pack()
throws ISOException
ISOMsgpack in class ISOMsgISOExceptionpublic int unpack(byte[] b)
throws ISOException
ISOMsgunpack in class ISOMsgb - - raw messageISOExceptionpublic void unpack(java.io.InputStream in)
throws java.io.IOException,
ISOException
unpack in class ISOMsgjava.io.IOExceptionISOExceptionpublic FSDMsg getFSDMsg()
public java.lang.String getString(int fldno)
ISOMsgpublic java.lang.String getString(java.lang.String fld)
ISOMsgpublic boolean hasField(int fldno)
ISOMsgpublic boolean hasField(java.lang.String fld)
ISOMsgpublic void dump(java.io.PrintStream p,
java.lang.String indent)
ISOMsgpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class ISOMsgjava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class ISOMsgjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic java.lang.Object clone(int[] fields)
ISOMsgpublic void setResponseMTI()
ISOMsgsetResponseMTI in class ISOMsg