src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java

changeset 1412
400a4e8accd3
parent 1410
bfec2a1cc869
child 1413
bdcef2ef52d2
     1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java	Thu Nov 15 14:41:31 2012 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java	Thu Nov 15 19:54:20 2012 -0800
     1.3 @@ -32,6 +32,7 @@
     1.4  import com.sun.tools.doclets.internal.toolkit.builders.BuilderFactory;
     1.5  import com.sun.tools.doclets.internal.toolkit.taglets.*;
     1.6  import com.sun.tools.doclets.internal.toolkit.util.*;
     1.7 +import javax.tools.JavaFileManager;
     1.8  
     1.9  /**
    1.10   * Configure the output based on the options. Doclets should sub-class
    1.11 @@ -752,7 +753,7 @@
    1.12       * @return the input steam to the builder XML.
    1.13       * @throws FileNotFoundException when the given XML file cannot be found.
    1.14       */
    1.15 -    public InputStream getBuilderXML() throws FileNotFoundException {
    1.16 +    public InputStream getBuilderXML() throws IOException {
    1.17          return builderXMLPath == null ?
    1.18              Configuration.class.getResourceAsStream(DEFAULT_BUILDER_XML) :
    1.19              DocFile.createFileForInput(this, builderXMLPath).openInputStream();
    1.20 @@ -764,6 +765,11 @@
    1.21      public abstract Locale getLocale();
    1.22  
    1.23      /**
    1.24 +     * Return the current file manager.
    1.25 +     */
    1.26 +    public abstract JavaFileManager getFileManager();
    1.27 +
    1.28 +    /**
    1.29       * Return the comparator that will be used to sort member documentation.
    1.30       * To no do any sorting, return null.
    1.31       *

mercurial