I need to parse MANY JAVA files and save the class names and methods in a word(.docx) file with certain formatting(certain words need to be bolded/indented etc.). Are there any good tools or libraries that I can use for the same? Thanks!
Asked
Active
Viewed 747 times
-1
-
1["Java Parser" Google Search Results](https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=java%20parser) – robotlos Apr 06 '16 at 00:28
2 Answers
0
java.lang.reflect for getting class names and method names.
java.io.FileOutputStream for writing into file.
java.awt.Font for making certain characters bold/indeted.

Ashish Patil
- 4,428
- 1
- 15
- 36
0
I would suggest using JavaParser for extracting all the information you need from Java code. It is a mature product with a reasonably large community and can get the work done.

Federico Tomassetti
- 2,100
- 1
- 19
- 26