static boolean |
CollectionHelper.getBooleanMapAttrThrows(Map map,
String name) |
Gets a boolean attribute from a Map<String, Set<String>>, throwing an exception if no boolean value (case
insensitive comparisons against "true" or "false") is found for the given key.
|
static int |
CollectionHelper.getIntMapAttrThrows(Map map,
String name) |
Returns integer value from a Map of String of Set of String.
|
static Map<Locale,String> |
CollectionHelper.getLocaleMapAttrThrows(Map<String,Set<String>> map,
String key) |
The key we are given must refer to an entry in the Map which is a set of lines of the form:
en_GB|Here is some text in English
fr_FR|Voici un texte en français
All the text must fit onto one line.
|
static long |
CollectionHelper.getLongMapAttrThrows(Map<String,Set<String>> map,
String name) |
Given the map attempts to return the named value as a long.
|
static String |
CollectionHelper.getMapAttrThrows(Map map,
String key) |
Return String from a map of strings to set of strings.
|
static Set<String> |
CollectionHelper.getMapSetThrows(Map<String,Set<String>> map,
String key) |
Gets the set based on the passed key.
|