public class JDiff
extends com.sun.javadoc.Doclet
Constructor and Description |
---|
JDiff() |
Modifier and Type | Method and Description |
---|---|
static com.sun.javadoc.LanguageVersion |
languageVersion() |
static void |
main(java.lang.String[] args)
This method is only called when running JDiff as a standalone
application, and uses ANT to execute the build configuration in the
XML configuration file passed in.
|
static int |
optionLength(java.lang.String option)
This method is called by Javadoc to
parse the options it does not recognize.
|
static int |
runAnt(java.lang.String[] args)
Invoke ANT by reflection.
|
static void |
showUsage()
Display usage information for JDiff.
|
static boolean |
start(com.sun.javadoc.RootDoc root)
Doclet-mandated start method.
|
protected boolean |
startGeneration(com.sun.javadoc.RootDoc newRoot)
Generate the summary of the APIs.
|
static boolean |
validOptions(java.lang.String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
After parsing the available options using
optionLength(java.lang.String) ,
Javadoc invokes this method with an array of options-arrays. |
public static com.sun.javadoc.LanguageVersion languageVersion()
public static boolean start(com.sun.javadoc.RootDoc root)
root
- a RootDoc object passed by Javadocprotected boolean startGeneration(com.sun.javadoc.RootDoc newRoot)
root
- the RootDoc object passed by Javadocpublic static int optionLength(java.lang.String option)
validOptions(java.lang.String[][], com.sun.javadoc.DocErrorReporter)
to validate them.option
- a String containing an optionpublic static boolean validOptions(java.lang.String[][] options, com.sun.javadoc.DocErrorReporter reporter)
optionLength(java.lang.String)
,
Javadoc invokes this method with an array of options-arrays.options
- an array of String arrays, one per optionreporter
- a DocErrorReporter for generating error messagespublic static void main(java.lang.String[] args)
public static void showUsage()
public static int runAnt(java.lang.String[] args)