@FunctionalInterface public interface IHasDisplayTextWithArgs extends IHasDisplayText
| Modifier and Type | Method and Description |
|---|---|
default IHasTextWithArgs |
getAsHasTextWithArgs() |
default String |
getDisplayTextWithArgs(Locale aContentLocale)
Deprecated.
Don't call this; Use
IHasDisplayText.getDisplayText(Locale) if no
parameters are present |
default String |
getDisplayTextWithArgs(Locale aContentLocale,
Object... aArgs) |
getAsHasText, getComparatorCollating, getDisplayText@Nullable @Deprecated @DevelopersNote(value="Use geDisplayText (Locale) instead") default String getDisplayTextWithArgs(@Nonnull Locale aContentLocale)
IHasDisplayText.getDisplayText(Locale) if no
parameters are presentaContentLocale - The locale to be used for resolving. May not be null.null if the text could not be resolved in the passed
locale.@Nullable default String getDisplayTextWithArgs(@Nonnull Locale aContentLocale, @Nullable Object... aArgs)
aContentLocale - The locale to be used for resolving. May not be null.aArgs - Arguments for formatting the provided text. May be null
but this makes no sense.null if the text could not be resolved in the passed
locale.@Nonnull default IHasTextWithArgs getAsHasTextWithArgs()
IHasTextWithArgs.Copyright © 2014–2022 Philip Helger. All rights reserved.