public class IndicatorMap extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
ids
Set of indicator ids.
|
protected static String |
KEY_ENGLISH
To get english translations.
|
protected static String |
KEY_FRENCH
To get french translations.
|
protected static String |
KEY_SPANISH
To get spanish translations.
|
protected static String |
KEY_UNIT
To get unit translations.
|
protected org.apache.commons.collections4.map.MultiKeyMap<String,String> |
map
Localized Indicator map (id, locale > translation, id, "unit" > unit).
|
protected static Set<String> |
SAFE_KEYS
Universe of safe keys usable in the cache.
|
Constructor and Description |
---|
IndicatorMap(File indicatorsFile) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getIds() |
Map<String,String> |
getIndicatorsValues(Locale locale,
Collection<String> indicatorList) |
String |
getIndicatorUnit(String indicator) |
String |
getIndicatorValue(Locale locale,
String indicator) |
protected String |
getIndicatorValue(String localeCode,
String indicator) |
protected String |
getSafeLocaleKey(String localeCode) |
protected static final String KEY_FRENCH
protected static final String KEY_ENGLISH
protected static final String KEY_SPANISH
protected static final String KEY_UNIT
protected static final Set<String> SAFE_KEYS
getSafeLocaleKey(String)
protected final org.apache.commons.collections4.map.MultiKeyMap<String,String> map
public IndicatorMap(File indicatorsFile)
Copyright © 2010–2015 Ifremer. All rights reserved.