API classes

The Doclet class provides an example of how to create a class to start a Doclet. It contains an empty Doclet() constructor and the following methods:

  • languageVersion()
  • optionLength(String option)
  • start(RootDoc root)
  • validOptions(String[][] options, DocErrorReporter reporter)

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.