aspose file tools
The moose likes Java in General and the fly likes SWIFT Message Format Check Using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "SWIFT Message Format Check Using Java" Watch "SWIFT Message Format Check Using Java" New topic
Author

SWIFT Message Format Check Using Java

saptadip sarkar
Greenhorn

Joined: Jul 06, 2008
Posts: 6
Hello Members

I work in Solaris Platform & have recently started learning JAVA. I want to write a script that will check the incoming message(WebSphere MQ) format with a standard SWIFT message format template.

Can you help me by giving some ideas how I can implement this by using Java. Using "Reqular Expressions" in Shell-Scripting I can achieve this; however wanted to do it in JAVA.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Regular expressions in Java?
saptadip sarkar
Greenhorn

Joined: Jul 06, 2008
Posts: 6
No no..by Regular Expressions I meant "Shell-Scripting" in UNIX(Solaris).
What I want to know is how I can do the format checking by using JAVA only, not Regular-Expressions.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not knowing anything about the message format, there's no good way to answer. Maybe there's already a Java library for SWIFT, like here.

What *I'm* saying is why wouldn't you just use regular expressions in Java, especially if you've already written the regexes?
saptadip sarkar
Greenhorn

Joined: Jul 06, 2008
Posts: 6
Thank you David for your valuable suggestions. I will work on them.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SWIFT Message Format Check Using Java
 
Similar Threads
A very basic applet / swing requirement
Reference pointers in java?
Creating and Parsing SWIFT Messages using WIFE
SWIFT message parser
servlets and sql