• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

Documentator

Last year a used a program which you passed your java code through it and it wrote the java documentation for it, the required details for methods created etc, anyone have any idea what I used?

Looked like:-
http://java.sun.com/j2se/1.4.2/docs/api/java/applet/package-summary.html
0
tonelm54
Asked:
tonelm54
  • 4
1 Solution
 
StillUnAwareCommented:
its javadoc, supplied with java JDK
0
 
tonelm54Author Commented:
Ok got it, if anyones interesed:-
You will need to start up a terminal window (Linux) or a DOS prompt window (NT) in order to issue the command line instructions that do the HTML generation.  The –d flag is used to indicate to the javadoc program where to put the generated HTML files.  One or more class names can be given on the command line.

So, assuming that the files Person.java and PersonArray.java are in the current directory/folder and that this directory/folder contains another called HTML, the following command generates the Java documentation:
javadoc –d .\HTML Person.java PersonArray.java
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
StillUnAwareCommented:
yes,

javadoc –d .\HTML Person.java PersonArray.java

will work just fine
0
 
StillUnAwareCommented:
my favourite parameter combination is like this

javadoc -d docs -use -version -author *.java

documentation is saved in folder docs also including class use, version and author parameters.
0
 
ucoolCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now