712 |
option_sourcepath.add(new File(".")); |
option_sourcepath.add(new File(".")); |
713 |
|
|
714 |
//--- We have all information we need to start the doclet at this time |
//--- We have all information we need to start the doclet at this time |
715 |
|
|
716 |
|
rootDoc.setSourceEncoding(option_encoding); |
717 |
rootDoc.setSourcePath(option_sourcepath); |
rootDoc.setSourcePath(option_sourcepath); |
718 |
|
|
719 |
addJavaLangClasses(); |
addJavaLangClasses(); |
911 |
void process(String[] args) |
void process(String[] args) |
912 |
{ |
{ |
913 |
option_verbose = true; |
option_verbose = true; |
914 |
|
System.err.println("WARNING: Unsupported option -verbose ignored"); |
915 |
} |
} |
916 |
}); |
}); |
917 |
options.put("-quiet", new OptionProcessor(1) |
options.put("-quiet", new OptionProcessor(1) |
928 |
void process(String[] args) |
void process(String[] args) |
929 |
{ |
{ |
930 |
option_locale = args[0]; |
option_locale = args[0]; |
931 |
|
System.err.println("WARNING: Unsupported option -locale ignored"); |
932 |
} |
} |
933 |
}); |
}); |
934 |
options.put("-encoding", new OptionProcessor(2) |
options.put("-encoding", new OptionProcessor(2) |
998 |
+ " -private Include all classes and members\n" |
+ " -private Include all classes and members\n" |
999 |
+ " -help Show this information\n" |
+ " -help Show this information\n" |
1000 |
+ " -doclet <class> Doclet class to use for generating output\n" |
+ " -doclet <class> Doclet class to use for generating output\n" |
1001 |
/* + " -docletpath <classpath> Specifies the path of the doclet and any jars that depends on\n" */ |
+ " -docletpath <classpath> Specifies the search path for the doclet and dependencies\n" |
1002 |
/* + " -source <release> Provide source compatibility with specified release (1.4 to handle assertion)\n" */ |
+ " -source <release> Provide source compatibility with specified release (1.4 to handle assertion)\n" |
1003 |
+ " -sourcepath <pathlist> Where to look for source files\n" |
+ " -sourcepath <pathlist> Where to look for source files\n" |
1004 |
/* + " -classpath <pathlist> Where to find additional libs (if it is not set, CLASSPATH variable is used)\n" */ |
+ " -verbose Output messages about what Gjdoc is doing [ignored]\n" |
|
/* + " -bootclasspath <path> Where the classes are found\n" */ |
|
|
/* + " -extdirs <dirlist> Where the extensions classes are\n" */ |
|
|
+ " -verbose Output messages about what Gjdoc is doing\n" |
|
1005 |
+ " -quiet Do not print non-error and non-warning messages\n" |
+ " -quiet Do not print non-error and non-warning messages\n" |
1006 |
/* + " -locale <name> Locale to be used, e.g. en_US or en_US_WIN\n" */ |
+ " -locale <name> Locale to be used, e.g. en_US or en_US_WIN [ignored]\n" |
1007 |
/* + " -encoding <name> Source file encoding name\n" */ |
+ " -encoding <name> Source file encoding name\n" |
1008 |
/* + " -J<flag> Passes the flag to the virtual machine\n" */ |
|
1009 |
+ "Standard doclet options:\n" |
+ "Standard doclet options:\n" |
1010 |
+ " -d Set target directory\n" |
+ " -d Set target directory\n" |
1011 |
/* + " -use Includes the 'Use' page for each documented class and package\n" */ |
/* + " -use Includes the 'Use' page for each documented class and package\n" */ |
1012 |
/* + " -version Includes the '@version' tag\n" */ |
/* + " -version Includes the '@version' tag\n" */ |
1013 |
/* + " -author Includes the '@author' tag\n" */ |
+ " -author Includes the '@author' tag\n" |
1014 |
/* + " -splitindex Splits the index file into multiple files\n" */ |
/* + " -splitindex Splits the index file into multiple files\n" */ |
1015 |
/* + " -windowtitle <text> Browser window title\n" */ |
/* + " -windowtitle <text> Browser window title\n" */ |
1016 |
/* + " -doctitle <text> Title near the top of the overview summary file (html allowed)\n" */ |
/* + " -doctitle <text> Title near the top of the overview summary file (html allowed)\n" */ |
1017 |
+ " -title Title for this set of API documentation (deprecated -doctitle should be used).\n" |
+ " -title Title for this set of API documentation (deprecated, -doctitle should be used instead).\n" |
1018 |
/* + " -header <text> Text at the top of each output file (html allowed)\n" */ |
/* + " -header <text> Text at the top of each output file (html allowed)\n" */ |
1019 |
/* + " -footer <text> Text at the bottom of each output file (html allowed)\n" */ |
/* + " -footer <text> Text at the bottom of each output file (html allowed)\n" */ |
1020 |
/* + " -link <extdoc URL> Link to external javadoc-generated documentation you want to link to\n" */ |
/* + " -link <extdoc URL> Link to external javadoc-generated documentation you want to link to\n" */ |
1027 |
/* + " -notree Do not generate the class/interface hierarchy page\n" */ |
/* + " -notree Do not generate the class/interface hierarchy page\n" */ |
1028 |
/* + " -noindex Do not generate the index file\n" */ |
/* + " -noindex Do not generate the index file\n" */ |
1029 |
/* + " -nohelp Do not generate the HELP link\n" */ |
/* + " -nohelp Do not generate the HELP link\n" */ |
1030 |
/* + " -nonavbar Do not generate the navbar, header and footer\n" */ |
+ " -nonavbar Do not generate the navbar, header and footer\n" |
1031 |
/* + " -helpfile <filename> Path of an alternate help file\n" */ |
/* + " -helpfile <filename> Path of an alternate help file\n" */ |
1032 |
/* + " -stylesheet <filename> Path of an alternate html stylesheet\n" */ |
/* + " -stylesheet <filename> Path of an alternate html stylesheet\n" */ |
1033 |
/* + " -serialwarn Generate compile time error for missing '@serial' tags\n" */ |
/* + " -serialwarn Generate compile time error for missing '@serial' tags\n" */ |
1036 |
/* + " -tag <tagname>:Xaoptcmf:\"<taghead>\" Enables gjdoc to interpreta custom tag\n" */ |
/* + " -tag <tagname>:Xaoptcmf:\"<taghead>\" Enables gjdoc to interpreta custom tag\n" */ |
1037 |
+ " -taglet Adds a Taglet class to the map of taglets.\n" |
+ " -taglet Adds a Taglet class to the map of taglets.\n" |
1038 |
+ " -tagletpath Sets the CLASSPATH to load subsequent Taglets from.\n" |
+ " -tagletpath Sets the CLASSPATH to load subsequent Taglets from.\n" |
1039 |
/* + " -subpackages <spkglist> List of subpackages to recursivly load\n" */ |
/* + " -subpackages <spkglist> List of subpackages to recursively load\n" */ |
1040 |
/* + " -exclude <pkglist> List of packages to exclude\n" */ |
/* + " -exclude <pkglist> List of packages to exclude\n" */ |
1041 |
/* + " -breakiterator Compute first sentence with BreakIterator\n" */ |
/* + " -breakiterator Compute first sentence with BreakIterator\n" */ |
1042 |
/* + " -docfilessubdirs Enables deep copy of 'doc-files' directories\n" */ |
+ " -docfilessubdirs Enables deep copy of 'doc-files' directories\n" |
1043 |
/* + " -excludedocfilessubdir <name1:name2:...> Excludes 'doc-files' subdirectories with a give name\n" */ |
+ " -excludedocfilessubdir <name1:name2:...> Excludes 'doc-files' subdirectories with a give name\n" |
1044 |
/* + " -noqualifier all|<packagename1:packagename2:...> Do not qualify package name from ahead of class names\n" */ |
/* + " -noqualifier all|<packagename1:packagename2:...> Do not qualify package name from ahead of class names\n" */ |
1045 |
/* + " -nocomment Suppress the entire comment body including the main description and all tags, only generate the declarations\n" */ |
/* + " -nocomment Suppress the entire comment body including the main description and all tags, only generate the declarations\n" */ |
1046 |
+ " -genhtml Generate HTML code instead of XML code. This is the\n" |
+ " -genhtml Generate HTML code instead of XML code. This is the\n" |
1072 |
+ " mailto-name replace by <a>Real Name</a>.\n" |
+ " mailto-name replace by <a>Real Name</a>.\n" |
1073 |
+ " name-mailto-address replace by Real Name (<a>abc@foo.com</a>).\n" |
+ " name-mailto-address replace by Real Name (<a>abc@foo.com</a>).\n" |
1074 |
+ " name-mangled-address replace by Real Name (<a>abc AT foo DOT com</a>).\n" |
+ " name-mangled-address replace by Real Name (<a>abc AT foo DOT com</a>).\n" |
1075 |
+ "\n"); |
); |
1076 |
} |
} |
1077 |
|
|
1078 |
/** |
/** |