public interface ITextProvider extends ISimpleTextProvider
| Modifier and Type | Method and Description |
|---|---|
String |
getTextWithArgs(Locale aContentLocale,
Object... aArgs)
Get the text specific for the passed locale.
|
String |
getTextWithLocaleFallbackAndArgs(Locale aContentLocale,
Object... aArgs)
Get the text specific for the passed locale.
|
getText, getTextWithLocaleFallback@Nullable String getTextWithArgs(@Nonnull Locale aContentLocale, @Nullable Object... aArgs)
Format.format(Object) method.aContentLocale - The locale to use. May not be null.aArgs - The arguments to be added into the string. May be null
but this makes no sense.null if no text for the given locale was found.@Nullable String getTextWithLocaleFallbackAndArgs(@Nonnull Locale aContentLocale, @Nullable Object... aArgs)
Format.format(Object) method.aContentLocale - The locale to use. May not be null.aArgs - The arguments to be added into the string. May be null
but this makes no sense.null if no text for the given locale was found.LocaleUtils.getCalculatedLocaleListForResolving(Locale)Copyright © 2006–2015 phloc systems. All rights reserved.