Package gw.gosudoc.com.sun.tools.javadoc
Class Main
java.lang.Object
gw.gosudoc.com.sun.tools.javadoc.Main
Deprecated.
Provides external entry points (tool and programmatic)
for the javadoc program.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
execute
(ClassLoader docletParentClassLoader, String... args) Deprecated.Programmatic interface.static int
Deprecated.Programmatic interface.static int
execute
(String programName, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter, String defaultDocletClassName, ClassLoader docletParentClassLoader, String... args) Deprecated.Programmatic interface.static int
execute
(String programName, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter, String defaultDocletClassName, String... args) Deprecated.Programmatic interface.static int
execute
(String programName, ClassLoader docletParentClassLoader, String... args) Deprecated.Programmatic interface.static int
Deprecated.Programmatic interface.static int
execute
(String programName, String defaultDocletClassName, ClassLoader docletParentClassLoader, String... args) Deprecated.Programmatic interface.static int
Deprecated.Programmatic interface.static void
Deprecated.Command line interface.
-
Constructor Details
-
Main
private Main()Deprecated.Constructor should never be called.
-
-
Method Details
-
main
Deprecated.Command line interface.- Parameters:
args
- The command line parameters.
-
execute
Deprecated.Programmatic interface.- Parameters:
args
- The command line parameters.- Returns:
- The return code.
-
execute
Deprecated.Programmatic interface.- Parameters:
args
- The command line parameters.docletParentClassLoader
- The parent class loader used when creating the doclet classloader. If null, the class loader used to instantiate doclets will be created without specifying a parent class loader.- Returns:
- The return code.
- Since:
- 1.7
-
execute
Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).args
- The command line parameters.- Returns:
- The return code.
-
execute
Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).args
- The command line parameters.docletParentClassLoader
- The parent class loader used when creating the doclet classloader. If null, the class loader used to instantiate doclets will be created without specifying a parent class loader.- Returns:
- The return code.
- Since:
- 1.7
-
execute
Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).defaultDocletClassName
- Fully qualified class name.args
- The command line parameters.- Returns:
- The return code.
-
execute
public static int execute(String programName, String defaultDocletClassName, ClassLoader docletParentClassLoader, String... args) Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).defaultDocletClassName
- Fully qualified class name.docletParentClassLoader
- The parent class loader used when creating the doclet classloader. If null, the class loader used to instantiate doclets will be created without specifying a parent class loader.args
- The command line parameters.- Returns:
- The return code.
- Since:
- 1.7
-
execute
public static int execute(String programName, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter, String defaultDocletClassName, String... args) Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).errWriter
- PrintWriter to receive error messages.warnWriter
- PrintWriter to receive error messages.noticeWriter
- PrintWriter to receive error messages.defaultDocletClassName
- Fully qualified class name.args
- The command line parameters.- Returns:
- The return code.
-
execute
public static int execute(String programName, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter, String defaultDocletClassName, ClassLoader docletParentClassLoader, String... args) Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).errWriter
- PrintWriter to receive error messages.warnWriter
- PrintWriter to receive error messages.noticeWriter
- PrintWriter to receive error messages.defaultDocletClassName
- Fully qualified class name.docletParentClassLoader
- The parent class loader used when creating the doclet classloader. If null, the class loader used to instantiate doclets will be created without specifying a parent class loader.args
- The command line parameters.- Returns:
- The return code.
- Since:
- 1.7
-
javax.tools.ToolProvider::getSystemDocumentationTool
andjavax.tools.DocumentationTool
for replacement functionality.