I have been using JavaCC in a project for parsing Resource files. Anyone who has worked with Parsers before would just love the simplicity and power of JavaCC.
I would strongly recommend using JavaCC to generate any Java parser anyone would ever need. The following links would get U started :)
http://www.engr.mun.ca/~theo/JavaCC-Tutorial/ (An excellent tutorial for beginners)