• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

SWIFT Message Format Check Using Java  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regular expressions in Java?
 
saptadip sarkar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you David for your valuable suggestions. I will work on them.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!