1 / 8

Vorstellung von: Javadoc

Vorstellung von: Javadoc. Tobias Fritsch Softwarepraktikum 2002. Was macht Javadoc ?. bekommen : HTML basierte API zu unserem Programm. haben : speziell kommentierten Java – Source * wichtig: an die Konventionen halten!. Wozu dient Javadoc?.

noah-dunn
Télécharger la présentation

Vorstellung von: Javadoc

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vorstellung von:Javadoc • Tobias Fritsch • Softwarepraktikum 2002

  2. Was macht Javadoc ? bekommen: HTML basierte API zu unserem Programm haben: speziell kommentierten Java – Source *wichtig: an die Konventionen halten!

  3. Wozu dient Javadoc? • Dokumentation/ Nachvollziehbarkeit von größerem Code • Parallelarbeit • Gedächtnisstütze • Übersicht • Wiederverwendbarkeit

  4. Wo und seit wann gibt es Javadoc? • Javadoc im JDK seit Version 1.1 vorhanden • Aufruf direkt über den Befehl „javadoc ...“

  5. Beispiel für einen dokumentierten Source: /** * Programm zum Bestimmen spezifischer Vogelgesaenge. * Hier am Beispiel von Specht und Nachtigall. * Erschaffungsklasse zum Erstellen verschiedener Objekte. * @author Tobias Fritsch * @version 1.0 25 Apr 2002 */ public class vogelgesang { /** * Hauptprozedur, die die eigentlichen Funktionsaufrufe macht. * @param args eingegebener Aufrufsstring * @todo Weiterer Ausbau der Hauptfunktion - mehr Voegel includen */ public static void main (String[] args) { /** instance1 Nachtigall sei Instanz der Unterklasse */ SingVogel v1 = new Nachtigall(); // 2 Objekte erschaffen etc etc etc ....

  6. Klassenansicht:

  7. Klasseninformationen:

  8. Detailinformationen:

More Related