public interface LocalizedDisplayable extends Displayable
Displayable
which can manage names in multiple Locale
s.Modifier and Type | Field and Description |
---|---|
static Class<LocalizedDisplayable> |
LocalizedDisplayable |
DEFAULT, Displayable
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName(Locale locale)
Returns the display name in the given
Locale . |
Map<Locale,String> |
getDisplayNames()
Returns all the display names in
Map where they are indexed by Locale . |
SortedSet<Locale> |
getLocales()
Returns the supported
Locale s. |
getDisplayName
static final Class<LocalizedDisplayable> LocalizedDisplayable
@Nonnull String getDisplayName(@Nonnull Locale locale)
Locale
.locale
- the Locale
@Nonnull Map<Locale,String> getDisplayNames()
Map
where they are indexed by Locale
.Copyright © 2009-2013 Tidalwave s.a.s. (http://tidalwave.it). All Rights Reserved.