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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Set<? extends Doclet.Option>(package private) static voidindent(String text, int indent, PrintWriter pw) Indents a block of text a given amount.void(package private) static StringremovePackageNames(String name) booleanrun(DocletEnvironment environment)
-
Constructor Details
-
APIDocumentationDoclet
public APIDocumentationDoclet()
-
-
Method Details
-
removePackageNames
-
init
-
getName
-
getSupportedOptions
- Specified by:
getSupportedOptionsin interfaceDoclet
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceDoclet
-
indent
Indents a block of text a given amount. -
run
-