Package edu.pdx.cs410J.grader
Class APIDocumentationDoclet
java.lang.Object
edu.pdx.cs410J.grader.APIDocumentationDoclet
- All Implemented Interfaces:
Doclet
This doclet
extracts the API documentation (Javadocs)
from a student's project submission and produces a text summary of
them. It is used for grading a student's Javadocs.
- Since:
- Summer 2004 (rewritten for Java 9 API in Summer 2018)
- Author:
- David Whitlock
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.javadoc.doclet.Doclet
Doclet.Option
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Set<? extends Doclet.Option>
(package private) static void
indent
(String text, int indent, PrintWriter pw) Indents a block of text a given amount.void
(package private) static String
removePackageNames
(String name) boolean
run
(DocletEnvironment environment)
-
Constructor Details
-
APIDocumentationDoclet
public APIDocumentationDoclet()
-
-
Method Details
-
removePackageNames
-
init
-
getName
-
getSupportedOptions
- Specified by:
getSupportedOptions
in interfaceDoclet
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceDoclet
-
indent
Indents a block of text a given amount. -
run
-