| Modifier and Type | Field and Description |
|---|---|
| protected final ResourceBundle | |
| protected final ResourceBundle | |
| protected Function |
| Access | Constructor and Description |
|---|---|
| public | Resources(Locale
the locale to be used when accessing the
resource bundles. locale, String the name of the bundle containing the strings
common to all output formats commonBundleName, String the name of the bundle containing the strings
specific to a particular format docletBundleName)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: the string for the given keythe key for the desired string key, Object... values to be substituted into the resulting string args)Returns the string for the given key (after applying the current
|
| public void |
| commonBundle | back to summary |
|---|---|
| protected final ResourceBundle commonBundle | |
| docletBundle | back to summary |
|---|---|
| protected final ResourceBundle docletBundle | |
| mapper | back to summary |
|---|---|
| protected Function<String, String> mapper | |
| Resources | back to summary |
|---|---|
| public Resources(Locale locale, String commonBundleName, String docletBundleName) Creates a | |
| getText | back to summary |
|---|---|
| public String getText(String key) throws MissingResourceException Returns the string for the given key from one of the doclet's
resource bundles. If the current
| |
| getText | back to summary |
|---|---|
| public String getText(String key, Object... args) throws MissingResourceException Returns the string for the given key (after applying the current
| |
| setKeyMapper | back to summary |
|---|---|
| public void setKeyMapper(Function<String, String> mapper) | |