public interface Enumerator
Such values usually depends on environment (directory listing, DB table, ...).
| Modifier and Type | Method and Description |
|---|---|
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
I18nizableText getEntry(String value) throws Exception
value - the value.null if not found.Exception - if an error occurs.Map<Object,I18nizableText> getEntries() throws Exception
Exception - if an error occurs.