Lines Matching defs:options

8  * Class to handle options for JDiff.
23 * parse the options it does not recognize. It then calls
27 * The options arrive as case-sensitive strings. For options that
38 // Standard options
108 * After parsing the available options using {@link #optionLength},
109 * Javadoc invokes this method with an array of options-arrays, where
131 * @param options an array of String arrays, one per option
133 * @return true if no errors were found, and all options are
136 public static boolean validOptions(String[][] options,
154 for (int i = 0; i < options.length; i++) {
155 for (int j = 0; j < options[i].length; j++) {
156 Options.cmdOptions += " " + options[i][j];
158 System.out.print(" " + options[i][j]);
164 for (int i = 0; i < options.length; i++) {
165 if (options[i][0].toLowerCase().equals("-apiname")) {
166 if (options[i].length < 2) {
169 err.msg("Use the -apiname option, or the -oldapi and -newapi options, but not both.");
171 String filename = options[i][1];
180 if (options[i][0].toLowerCase().equals("-apidir")) {
181 if (options[i].length < 2) {
184 RootDocToXML.outputDirectory = options[i][1];
188 if (options[i][0].toLowerCase().equals("-oldapi")) {
189 if (options[i].length < 2) {
194 String filename = options[i][1];
202 if (options[i][0].toLowerCase().equals("-oldapidir")) {
203 if (options[i].length < 2) {
206 JDiff.oldDirectory = options[i][1];
210 if (options[i][0].toLowerCase().equals("-newapi")) {
211 if (options[i].length < 2) {
216 String filename = options[i][1];
224 if (options[i][0].toLowerCase().equals("-newapidir")) {
225 if (options[i].length < 2) {
228 JDiff.newDirectory = options[i][1];
232 if (options[i][0].toLowerCase().equals("-usercommentsdir")) {
233 if (options[i].length < 2) {
236 HTMLReportGenerator.commentsDir = options[i][1];
240 if (options[i][0].toLowerCase().equals("-d")) {
241 if (options[i].length < 2) {
244 HTMLReportGenerator.outputDir = options[i][1];
248 if (options[i][0].toLowerCase().equals("-javadocnew")) {
249 if (options[i].length < 2) {
252 HTMLReportGenerator.newDocPrefix = options[i][1];
256 if (options[i][0].toLowerCase().equals("-javadocold")) {
257 if (options[i].length < 2) {
260 HTMLReportGenerator.oldDocPrefix = options[i][1];
264 if (options[i][0].toLowerCase().equals("-baseuri")) {
265 if (options[i].length < 2) {
268 RootDocToXML.baseURI = options[i][1];
272 if (options[i][0].toLowerCase().equals("-excludeclass")) {
273 if (options[i].length < 2) {
276 String level = options[i][1];
288 if (options[i][0].toLowerCase().equals("-excludemember")) {
289 if (options[i].length < 2) {
292 String level = options[i][1];
304 if (options[i][0].toLowerCase().equals("-firstsentence")) {
308 if (options[i][0].toLowerCase().equals("-docchanges")) {
313 if (options[i][0].toLowerCase().equals("-packagesonly")) {
317 if (options[i][0].toLowerCase().equals("-showallchanges")) {
321 if (options[i][0].toLowerCase().equals("-nosuggest")) {
322 if (options[i].length < 2) {
325 String level = options[i][1];
347 if (options[i][0].toLowerCase().equals("-checkcomments")) {
351 if (options[i][0].toLowerCase().equals("-retainnonprinting")) {
355 if (options[i][0].toLowerCase().equals("-excludetag")) {
356 if (options[i].length < 2) {
359 RootDocToXML.excludeTag = options[i][1];
365 if (options[i][0].toLowerCase().equals("-stats")) {
369 if (options[i][0].toLowerCase().equals("-doctitle")) {
370 if (options[i].length < 2) {
373 HTMLReportGenerator.docTitle = options[i][1];
377 if (options[i][0].toLowerCase().equals("-windowtitle")) {
378 if (options[i].length < 2) {
381 HTMLReportGenerator.windowTitle = options[i][1];
385 if (options[i][0].toLowerCase().equals("-version")) {
389 if (options[i][0].toLowerCase().equals("-help")) {
438 /** All the options passed on the command line. Logged to XML. */