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

changeset 1372
78962d89f283
parent 1359
25e14ad23cef
child 1410
bfec2a1cc869
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java	Wed Oct 17 16:43:26 2012 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java	Tue Oct 23 13:20:37 2012 -0700
     1.3 @@ -56,46 +56,23 @@
     1.4      private static final String LI_CIRCLE  = "circle";
     1.5  
     1.6      /**
     1.7 -     * Constructor initilises classtree variable. This constructor will be used
     1.8 +     * Constructor initializes classtree variable. This constructor will be used
     1.9       * while generating global tree file "overview-tree.html".
    1.10       *
    1.11 +     * @param configuration  The current configuration
    1.12       * @param filename   File to be generated.
    1.13       * @param classtree  Tree built by {@link ClassTree}.
    1.14       * @throws IOException
    1.15       * @throws DocletAbortException
    1.16       */
    1.17      protected AbstractTreeWriter(ConfigurationImpl configuration,
    1.18 -                                 String filename, ClassTree classtree)
    1.19 +                                 DocPath filename, ClassTree classtree)
    1.20                                   throws IOException {
    1.21          super(configuration, filename);
    1.22          this.classtree = classtree;
    1.23      }
    1.24  
    1.25      /**
    1.26 -     * Create appropriate directory for the package and also initilise the
    1.27 -     * relative path from this generated file to the current or
    1.28 -     * the destination directory. This constructor will be used while
    1.29 -     * generating "package tree" file.
    1.30 -     *
    1.31 -     * @param path Directories in this path will be created if they are not
    1.32 -     * already there.
    1.33 -     * @param filename Name of the package tree file to be generated.
    1.34 -     * @param classtree The tree built using {@link ClassTree}.
    1.35 -     * for the package pkg.
    1.36 -     * @param pkg PackageDoc for which tree file will be generated.
    1.37 -     * @throws IOException
    1.38 -     * @throws DocletAbortException
    1.39 -     */
    1.40 -    protected AbstractTreeWriter(ConfigurationImpl configuration,
    1.41 -                                 String path, String filename,
    1.42 -                                 ClassTree classtree, PackageDoc pkg)
    1.43 -                                 throws IOException {
    1.44 -        super(configuration,
    1.45 -              path, filename, DirectoryManager.getRelativePath(pkg.name()));
    1.46 -        this.classtree = classtree;
    1.47 -    }
    1.48 -
    1.49 -    /**
    1.50       * Add each level of the class tree. For each sub-class or
    1.51       * sub-interface indents the next level information.
    1.52       * Recurses itself to add subclasses info.

mercurial