Quick API reference

The tables below synthesizes, by pseudocode, the entry point for common read/write use case scenarios.

The use case is usually determined by whether you are creating a new SWIFT message or reading an existing SWIFT message. And in the case of reading, different API exists depending on whether you are processing messages generically, or if you are reading specific known type.

Prowide Core API

Use CaseAPI
Parse a known MT message into a specific message model new MT103(String/File/InputStream fin)
MT103.parse(String/File/InputStream fin)
Read specific MT message content MT103 + getters
Parse unknown MT message into generic swift model AbstractMT.parse(String/File/InputStream fin)
Specialize generic MT message new MT103(MtSwiftMessage)
MT103.parse(MtSwiftMessage)
(MT103) AbstractMT
Load and persist an unknown MT message new MtSwiftMessage(String/File/InputStream fin)
MtSwiftMessage.parse(String/File/InputStream fin)
Build a new MT message new MT103() + append(Field)
Write a new MT message to swift string MT103 + message() -> fin
Write a new MT message to swift file or stream MT103 + write(File/OutputStream fin)

Prowide Integrator SDK API

Use CaseAPI
Parse a known MX message into a specific message model new MxSecl00100101(String/File/InputStream xml)
MxSecl00100101.parse(String xml)
Read specific MX message content MxSecl00100101 + getters
Parse unknown MX message into generic swift model new MxParser(String/File/InputStream xml)
Specialize generic MX message new MxSecl00100101(MxSwiftMessage)
(MxSecl00100101) AbstractMX
Load and persist an unknown MX message new MxSwiftMessage(String/File/InputStream xml)
MxSwiftMessag.parse(String/File/InputStream xml)
Build a new MX message new MxSecl00100101() + specific setters
Write a new MX message to swift string MxSecl00100101 + message() -> xml
Write a new MX message to swift file or stream MxSecl00100101 + write(File/OutputStream xml)