langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TreeWriter.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
72 * |
72 * |
73 * @param configuration the current configuration of the doclet. |
73 * @param configuration the current configuration of the doclet. |
74 * @param filename String filename |
74 * @param filename String filename |
75 * @param classtree the tree being built. |
75 * @param classtree the tree being built. |
76 */ |
76 */ |
77 public TreeWriter(ConfigurationImpl configuration, DocPath filename, ClassTree classtree) { |
77 public TreeWriter(HtmlConfiguration configuration, DocPath filename, ClassTree classtree) { |
78 super(configuration, filename, classtree); |
78 super(configuration, filename, classtree); |
79 packages = configuration.packages; |
79 packages = configuration.packages; |
80 classesOnly = packages.isEmpty(); |
80 classesOnly = packages.isEmpty(); |
81 } |
81 } |
82 |
82 |
86 * |
86 * |
87 * @param configuration the configuration for this doclet |
87 * @param configuration the configuration for this doclet |
88 * @param classtree the class tree being documented. |
88 * @param classtree the class tree being documented. |
89 * @throws DocFileIOException if there is a problem generating the overview tree page |
89 * @throws DocFileIOException if there is a problem generating the overview tree page |
90 */ |
90 */ |
91 public static void generate(ConfigurationImpl configuration, |
91 public static void generate(HtmlConfiguration configuration, |
92 ClassTree classtree) throws DocFileIOException { |
92 ClassTree classtree) throws DocFileIOException { |
93 DocPath filename = DocPaths.OVERVIEW_TREE; |
93 DocPath filename = DocPaths.OVERVIEW_TREE; |
94 TreeWriter treegen = new TreeWriter(configuration, filename, classtree); |
94 TreeWriter treegen = new TreeWriter(configuration, filename, classtree); |
95 treegen.generateTreeFile(); |
95 treegen.generateTreeFile(); |
96 } |
96 } |