- java.lang.Object
-
- com.sun.tools.javadoc.Main
-
@Deprecated public class Main extends Object
Deprecated.This class is now deprecated and may be removed in a future release. Seejavax.tools.ToolProvider::getSystemDocumentationTool
andjavax.tools.DocumentationTool
for replacement functionality.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
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
execute(ClassLoader docletParentClassLoader, String... args)
Deprecated.Programmatic interface.static int
execute(String... args)
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
execute(String programName, String... args)
Deprecated.Programmatic interface.static int
execute(String programName, String defaultDocletClassName, ClassLoader docletParentClassLoader, String... args)
Deprecated.Programmatic interface.static int
execute(String programName, String defaultDocletClassName, String... args)
Deprecated.Programmatic interface.static void
main(String... args)
Deprecated.Command line interface.
-
-
-
Method Detail
-
main
public static void main(String... args)
Deprecated.Command line interface.- Parameters:
args
- The command line parameters.
-
execute
public static int execute(String... args)
Deprecated.Programmatic interface.- Parameters:
args
- The command line parameters.- Returns:
- The return code.
-
execute
public static int execute(ClassLoader docletParentClassLoader, String... args)
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
public static int execute(String programName, String... args)
Deprecated.Programmatic interface.- Parameters:
programName
- Name of the program (for error messages).args
- The command line parameters.- Returns:
- The return code.
-
execute
public static int execute(String programName, ClassLoader docletParentClassLoader, String... args)
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
public static int execute(String programName, String defaultDocletClassName, String... args)
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
-
-