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

changeset 1372
78962d89f283
parent 1359
25e14ad23cef
child 1410
bfec2a1cc869
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/AbstractIndexWriter.java	Wed Oct 17 16:43:26 2012 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/AbstractIndexWriter.java	Tue Oct 23 13:20:37 2012 -0700
     1.3 @@ -56,32 +56,18 @@
     1.4      protected IndexBuilder indexbuilder;
     1.5  
     1.6      /**
     1.7 -     * This constructor will be used by {@link SplitIndexWriter}. Initialises
     1.8 +     * This constructor will be used by {@link SplitIndexWriter}. Initializes
     1.9       * path to this file and relative path from this file.
    1.10       *
    1.11 +     * @param configuration  The current configuration
    1.12       * @param path       Path to the file which is getting generated.
    1.13 -     * @param filename   Name of the file which is getting genrated.
    1.14 -     * @param relpath    Relative path from this file to the current directory.
    1.15       * @param indexbuilder Unicode based Index from {@link IndexBuilder}
    1.16       */
    1.17      protected AbstractIndexWriter(ConfigurationImpl configuration,
    1.18 -                                  String path, String filename,
    1.19 -                                  String relpath, IndexBuilder indexbuilder)
    1.20 +                                  DocPath path,
    1.21 +                                  IndexBuilder indexbuilder)
    1.22                                    throws IOException {
    1.23 -        super(configuration, path, filename, relpath);
    1.24 -        this.indexbuilder = indexbuilder;
    1.25 -    }
    1.26 -
    1.27 -    /**
    1.28 -     * This Constructor will be used by {@link SingleIndexWriter}.
    1.29 -     *
    1.30 -     * @param filename   Name of the file which is getting genrated.
    1.31 -     * @param indexbuilder Unicode based Index form {@link IndexBuilder}
    1.32 -     */
    1.33 -    protected AbstractIndexWriter(ConfigurationImpl configuration,
    1.34 -                                  String filename, IndexBuilder indexbuilder)
    1.35 -                                  throws IOException {
    1.36 -        super(configuration, filename);
    1.37 +        super(configuration, path);
    1.38          this.indexbuilder = indexbuilder;
    1.39      }
    1.40  

mercurial