public class MultipleTextProvider extends Object implements TextProvider
Modifier and Type | Field and Description |
---|---|
protected List<ResourceBundle> |
resourceBundles |
copyright
Constructor and Description |
---|
MultipleTextProvider(ResourceBundle... resourceBundles) |
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedString(String key) |
List<ResourceBundle> |
getResourceBundles() |
String |
getText(String key,
Object... args) |
String |
getTextOrNull(String key,
Object... args) |
protected final List<ResourceBundle> resourceBundles
public MultipleTextProvider(ResourceBundle... resourceBundles)
public String getText(String key, Object... args)
getText
in interface TextProvider
public String getTextOrNull(String key, Object... args)
getTextOrNull
in interface TextProvider
public List<ResourceBundle> getResourceBundles()