Package com.helger.commons.name
Interface IHasDisplayName
-
- All Known Subinterfaces:
IEmailAddress,ILicense,IThirdPartyModule
- All Known Implementing Classes:
CustomLicense,ELicense,EmailAddress,EOperatingSystem,ThirdPartyModule
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IHasDisplayName
Base interface for objects that have a locale independent display name.
I contract toIHasNamethis interface is meant for display names of objects (e.g. user names or folder names).- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Comparator<IHasDisplayName>getComparatorCollating(Locale aSortLocale)StringgetDisplayName()
-
-
-
Method Detail
-
getDisplayName
@Nonnull String getDisplayName()
- Returns:
- The display name of this object. Should never be
null.
-
getComparatorCollating
@Nonnull static Comparator<IHasDisplayName> getComparatorCollating(@Nullable Locale aSortLocale)
-
-