it.tidalwave.role
Interface LocalizedDisplayable
- All Superinterfaces:
- Displayable
- All Known Subinterfaces:
- MutableLocalizedDisplayable
- All Known Implementing Classes:
- DefaultDisplayable, DefaultMutableDisplayable
public interface LocalizedDisplayable
- extends Displayable
A specialized Displayable
which can manage names in multiple Locale
s.
- Version:
- $Id$
- Author:
- Fabrizio Giudici
- Status: stable API
LocalizedDisplayable
static final Class<LocalizedDisplayable> LocalizedDisplayable
getDisplayName
@Nonnull
String getDisplayName(@Nonnull
Locale locale)
- Returns the display name in the given
Locale
.
- Parameters:
locale
- the Locale
- Returns:
- the display name
getDisplayNames
@Nonnull
Map<Locale,String> getDisplayNames()
- Returns all the display names in
Map
where they are indexed by Locale
.
- Returns:
- the display names
getLocales
@Nonnull
SortedSet<Locale> getLocales()
- Returns the supported
Locale
s.
- Returns:
- the available
Locale
s
Copyright © 2009-2012 Tidalwave s.a.s.. All Rights Reserved.