public interface I18nSource
I18nHelper.setSource(I18nSource)
.Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
keys(java.lang.String baseName,
java.util.Locale locale)
List all the message's keys for the given locale.
|
java.lang.String |
message(java.lang.String key,
java.util.Locale locale,
java.lang.Object... args)
Try to resolve the message under the given key.
|
java.lang.String[] keys(java.lang.String baseName, java.util.Locale locale)
locale
- The current locale.baseName
- The base name.java.lang.String message(java.lang.String key, java.util.Locale locale, java.lang.Object... args)
key
- The message's key.locale
- The current locale.args
- The message arguments.null
or a default message. It depends on the implementation.Copyright © 2010 - 2020 Adobe. All Rights Reserved