This is Akshatha. I\'m stuck in parsing the following data. I want to fetch each word individually. Can I have a sample code so that I can proceed
RTRV-HDR RH
Use BufferedReader to read your file (or input stream) thusly.
BufferedReader
Then use StringTokenizer to split each line into tokens thisly
StringTokenizer
I'm not providing a ready-to-use code here because I think you'd learn better by combining the above examples into a working code yourself.