|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Messages
This interface defines the minimum requirements in order to provide support for localized formatted strings.
| Method Summary | |
|---|---|
void |
add(java.lang.String bundleName)
Add a new resource bundle to the list that is searched for localized messages. |
java.lang.String |
getLocalizedString(java.util.Locale l,
java.lang.String key,
java.lang.Object... args)
Get a localized formatted string |
| Method Detail |
|---|
void add(java.lang.String bundleName)
throws java.util.MissingResourceException
bundleName - the name to identify the resource bundle of localized messages.
java.util.MissingResourceException - if the given resource is not found
java.lang.String getLocalizedString(java.util.Locale l,
java.lang.String key,
java.lang.Object... args)
l - locale in which the text is to be localizedkey - locale-independent message keyargs - misc message arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||