43 * </p> |
42 * </p> |
44 * <p> |
43 * <p> |
45 * Also do the error checking on the options used. For example it is illegal to |
44 * Also do the error checking on the options used. For example it is illegal to |
46 * use "-helpfile" option when already "-nohelp" option is used. |
45 * use "-helpfile" option when already "-nohelp" option is used. |
47 * </p> |
46 * </p> |
|
47 * |
|
48 * <p><b>This is NOT part of any supported API. |
|
49 * If you write code that depends on this, you do so at your own risk. |
|
50 * This code and its internal interfaces are subject to change or |
|
51 * deletion without notice.</b> |
48 * |
52 * |
49 * @author Robert Field. |
53 * @author Robert Field. |
50 * @author Atul Dambalkar. |
54 * @author Atul Dambalkar. |
51 * @author Jamie Ho |
55 * @author Jamie Ho |
52 * @author Bhavesh Patel (Modified) |
56 * @author Bhavesh Patel (Modified) |
360 if (helpfile == true) { |
364 if (helpfile == true) { |
361 reporter.printError(getText("doclet.Option_reuse", |
365 reporter.printError(getText("doclet.Option_reuse", |
362 "-helpfile")); |
366 "-helpfile")); |
363 return false; |
367 return false; |
364 } |
368 } |
365 File help = new File(os[1]); |
369 DocFile help = DocFile.createFileForInput(this, os[1]); |
366 if (!help.exists()) { |
370 if (!help.exists()) { |
367 reporter.printError(getText("doclet.File_not_found", os[1])); |
371 reporter.printError(getText("doclet.File_not_found", os[1])); |
368 return false; |
372 return false; |
369 } |
373 } |
370 helpfile = true; |
374 helpfile = true; |