src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java

changeset 1383
b980e8e6aabf
parent 1372
78962d89f283
child 1410
bfec2a1cc869
equal deleted inserted replaced
1382:27f7952eea3c 1383:b980e8e6aabf
23 * questions. 23 * questions.
24 */ 24 */
25 25
26 package com.sun.tools.doclets.formats.html; 26 package com.sun.tools.doclets.formats.html;
27 27
28 import java.io.*;
29 import java.net.*; 28 import java.net.*;
30 import java.util.*; 29 import java.util.*;
31 30
32 import com.sun.javadoc.*; 31 import com.sun.javadoc.*;
33 import com.sun.tools.doclets.internal.toolkit.*; 32 import com.sun.tools.doclets.internal.toolkit.*;
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;

mercurial