hi,
Can any one help me in parsing a file using java.
for example in my text file i have data like
line.long 0x0 "MIDR,Identity Code"

so i need to read this from a file and print it as
command=line
type=long
offset=0x0
description=MIDR,Identity code


There are around 100's of lines in the same format..

define "same format" your separators in one line aren't even identical.
read the line in as a String
use the space char as separator, split the first element you get on the place where you have the '.' and remove the ' " ' s from the last element
then just print them.