|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.swift.util.Utilities
public class Utilities
A utility class used for Swift OTD Library.
Field Summary | |
---|---|
static java.lang.String |
MSG_FILE_NAME
|
Method Summary | |
---|---|
static java.lang.String |
getMessage(java.lang.String key)
|
static java.lang.String |
getMessage(java.lang.String aKey,
java.lang.Object[] aParams)
|
static void |
main(java.lang.String[] args)
many utilities for Swift OTD Library generation, analysis, data normalization, etc. |
static void |
messageDiff(SwiftMessage msg1,
SwiftMessage msg2,
java.io.File output,
boolean coreAttrOnly)
compare two Swift Messages and output the diff as represented in extracfile syntax; |
static void |
messagePrint(SwiftMessage msg,
java.io.File output)
print a swift message instance into a file using extracfile syntax; |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MSG_FILE_NAME
Method Detail |
---|
public static java.lang.String getMessage(java.lang.String key)
public static java.lang.String getMessage(java.lang.String aKey, java.lang.Object[] aParams)
public static void main(java.lang.String[] args)
args
- public static void messageDiff(SwiftMessage msg1, SwiftMessage msg2, java.io.File output, boolean coreAttrOnly) throws java.lang.Exception
msg1
- -
first messagemsg2
- -
second messageoutput
- -
file holding diff result;coreAttrOnly
- -
when true, only compare those attrinutes affects OTD parsing;
java.lang.Exception
public static void messagePrint(SwiftMessage msg, java.io.File output) throws java.lang.Exception
msg
- -
the messageoutput
- -
the file holding the extractfile
java.lang.Exception
|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |