langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Configuration.java
equal
deleted
inserted
replaced
72 * @author Robert Field. |
72 * @author Robert Field. |
73 * @author Atul Dambalkar. |
73 * @author Atul Dambalkar. |
74 * @author Jamie Ho |
74 * @author Jamie Ho |
75 */ |
75 */ |
76 public abstract class Configuration { |
76 public abstract class Configuration { |
|
77 /** |
|
78 * The doclet that created this configuration. |
|
79 */ |
|
80 public final Doclet doclet; |
77 |
81 |
78 /** |
82 /** |
79 * The factory for builders. |
83 * The factory for builders. |
80 */ |
84 */ |
81 protected BuilderFactory builderFactory; |
85 protected BuilderFactory builderFactory; |
340 |
344 |
341 protected static final String sharedResourceBundleName = |
345 protected static final String sharedResourceBundleName = |
342 "jdk.javadoc.internal.doclets.toolkit.resources.doclets"; |
346 "jdk.javadoc.internal.doclets.toolkit.resources.doclets"; |
343 /** |
347 /** |
344 * Constructs the configurations needed by the doclet. |
348 * Constructs the configurations needed by the doclet. |
345 */ |
349 * @param doclet the doclet that created this configuration |
346 public Configuration() { |
350 */ |
|
351 public Configuration(Doclet doclet) { |
|
352 this.doclet = doclet; |
347 excludedDocFileDirs = new HashSet<>(); |
353 excludedDocFileDirs = new HashSet<>(); |
348 excludedQualifiers = new HashSet<>(); |
354 excludedQualifiers = new HashSet<>(); |
349 setTabWidth(DocletConstants.DEFAULT_TAB_STOP_LENGTH); |
355 setTabWidth(DocletConstants.DEFAULT_TAB_STOP_LENGTH); |
350 metakeywords = new MetaKeywords(this); |
356 metakeywords = new MetaKeywords(this); |
351 groups = new ArrayList<>(0); |
357 groups = new ArrayList<>(0); |