public abstract class AbstractHasTextWithArgs extends AbstractHasText implements IHasTextWithArgs
IHasTextWithArgs that has default
implementations for the formatting things.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHasTextWithArgs() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTextWithArgs(Locale aContentLocale)
Deprecated.
|
String |
getTextWithArgs(Locale aContentLocale,
Object... aArgs)
Get the text specific for the passed locale.
|
getText, internalGetLocaleToUseWithFallback, internalGetText@Nullable @Deprecated @DevelopersNote(value="Use getText instead!") public String getTextWithArgs(@Nonnull Locale aContentLocale)
IHasTextWithArgsgetTextWithArgs in interface IHasTextWithArgsaContentLocale - The locale to use. May not be null.null if no text for the given locale was found.@Nullable public final String getTextWithArgs(@Nonnull Locale aContentLocale, @Nullable Object... aArgs)
IHasTextWithArgsFormat.format(Object) method.getTextWithArgs in interface IHasTextWithArgsaContentLocale - 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.Copyright © 2014–2016 Philip Helger. All rights reserved.