1.6.3 Generieren von Javadokumentation
1.6.3 Generieren von Javadokumentation1. Editieren Sie die Datei HelloWorld.java
/**
 *
 * @author Ihr Name
 */
public class HelloWorld {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        System.out.println("HelloWorld");
    }
}
Datei sichern...
2. Rufen Sie javadoc auf
sschneid@scalingbits:~/l1$ javadoc HelloWorld.java Loading source file HelloWorld.java... Constructing Javadoc information... Standard Doclet version 1.6.0_18 Building tree for all the packages and classes... Generating HelloWorld.html... Generating package-frame.html... Generating package-summary.html... Generating package-tree.html... Generating constant-values.html... Building index for all the packages and classes... Generating overview-tree.html... Generating index-all.html... Generating deprecated-list.html
3. Kontrolle Ergebnis: Öffnen Sie mit Ihrem Browser die Datei index.html
Beispiel (Screenshot)
 
- 5979 views
Titel Tippfehler
Denke mal, Sie meinen 1.6.3 und nicht 16.3 :)
Danke, stimmt, wurde korrigiert
Stimmt