net.cscott.sinjdoc
public class Main extends Object
Main
implements a javadoc-alike that properly handles
JSR-14 java code (-source 1.5). The programmatic interface is
deliberately very similar to that of Sun's javadoc, although
slightly different option sets may be supported.
Version: $Id: Main.java,v 1.18 2003/08/01 00:01:26 cananian Exp $
Method Summary | |
---|---|
static int | execute(String[] args) Programmatic interface. |
static int | execute(String programName, String[] args) Programmatic interface. |
static int | execute(String programName, String defaultDocletClassName, String[] args) Programmatic interface. |
static int | execute(String programName, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter, String defaultDocletClassName, String[] args) Programmatic interface. |
static void | main(String[] args) Command-line interface. |
Parameters: args The command line parameters.
Returns: the exit code.
Parameters: programName Name of the program, for error messages. arg The command line parameters.
Returns: the exit code.
Parameters: programName Name of the program, for error messages. defaultDocletClassName ignored. arg The command line parameters.
Returns: the exit code.
Parameters: programName Name of the program, for error messages. errWriter PrintWriter to receive error messages. warnWriter PrintWriter to receive warning messages. noticeWriter PrintWriter to receive notice messages. defaultDocletClassName ignored. arg The command line parameters.
Returns: the exit code.
System.exit()
.
Doesn't return an exit code.Parameters: args The command line parameters.