langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Resources.java
changeset 45417 f7479ee8de69
parent 40303 96a1226aca18
equal deleted inserted replaced
45416:0d8bb33bdfa7 45417:f7479ee8de69
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 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
    37  * all supported formats, and one that contains strings
    37  * all supported formats, and one that contains strings
    38  * specific to the selected doclet, such as the standard
    38  * specific to the selected doclet, such as the standard
    39  * HTML doclet.
    39  * HTML doclet.
    40  */
    40  */
    41 public class Resources {
    41 public class Resources {
    42     private final Configuration configuration;
    42     private final BaseConfiguration configuration;
    43     private final String commonBundleName;
    43     private final String commonBundleName;
    44     private final String docletBundleName;
    44     private final String docletBundleName;
    45 
    45 
    46     protected ResourceBundle commonBundle;
    46     protected ResourceBundle commonBundle;
    47     protected ResourceBundle docletBundle;
    47     protected ResourceBundle docletBundle;
    56      * @param commonBundleName the name of the bundle containing the strings
    56      * @param commonBundleName the name of the bundle containing the strings
    57      *  common to all output formats
    57      *  common to all output formats
    58      * @param docletBundleName the name of the bundle containing the strings
    58      * @param docletBundleName the name of the bundle containing the strings
    59      *  specific to a particular format
    59      *  specific to a particular format
    60      */
    60      */
    61     public Resources(Configuration configuration, String commonBundleName, String docletBundleName) {
    61     public Resources(BaseConfiguration configuration, String commonBundleName, String docletBundleName) {
    62         this.configuration = configuration;
    62         this.configuration = configuration;
    63         this.commonBundleName = commonBundleName;
    63         this.commonBundleName = commonBundleName;
    64         this.docletBundleName = docletBundleName;
    64         this.docletBundleName = docletBundleName;
    65     }
    65     }
    66 
    66