public interface Messages
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Method and Description |
---|---|
void |
add(String bundleName)
Add a new resource bundle to the list that is searched for localized messages.
|
String |
getLocalizedString(Locale l,
String key,
Object... args)
Get a localized formatted string.
|
void add(String bundleName) throws MissingResourceException
bundleName
- the name to identify the resource bundle of localized messages.MissingResourceException
- if the given resource is not foundCopyright © 2016. All rights reserved.