@FunctionalInterface public interface IHasText extends Serializable
IHasTextWithArgs for a derived interface with argument
handling.| Modifier and Type | Method and Description |
|---|---|
default IHasDisplayText |
getAsHasDisplayText() |
static Comparator<IHasText> |
getComparatorCollating(Locale aContentLocale,
Locale aSortLocale) |
String |
getText(Locale aContentLocale)
Get the text specific for the passed locale.
|
@Nullable String getText(@Nonnull Locale aContentLocale)
aContentLocale - The locale to use. May not be null.null if no text for the given locale was found.@Nonnull default IHasDisplayText getAsHasDisplayText()
IHasDisplayText.Copyright © 2014–2017 Philip Helger. All rights reserved.