@FunctionalInterface public interface IHasTextWithArgs extends IHasText
| Modifier and Type | Method and Description |
|---|---|
default IHasDisplayTextWithArgs |
getAsHasDisplayTextWithArgs() |
default String |
getTextWithArgs(Locale aContentLocale)
Deprecated.
Use
IHasText.getText(Locale) instead! |
default String |
getTextWithArgs(Locale aContentLocale,
Object... aArgs)
Get the text specific for the passed locale.
|
getAsHasDisplayText, getComparatorCollating, getText@Nullable @Deprecated default String getTextWithArgs(@Nonnull Locale aContentLocale)
IHasText.getText(Locale) instead!aContentLocale - The locale to use. May not be null.null if no text for the given locale was found.@Nullable default 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.@Nonnull default IHasDisplayTextWithArgs getAsHasDisplayTextWithArgs()
IHasDisplayTextWithArgs.Copyright © 2014–2019 Philip Helger. All rights reserved.