@groovy.transform.CompileStatic class ViewUtils extends java.lang.Object
Utility methods for the views project
| Constructor and description |
|---|
ViewUtils() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static boolean |
getBooleanFromMap(java.lang.String key, java.util.Map<?, ?> map, boolean defaultValue)Retrieves a boolean value from a Map for the given key |
|
static java.util.List<java.lang.String> |
getStringListFromMap(java.lang.String key, java.util.Map map, java.util.List<java.lang.String> defaultValue)Obtains a list of strings from the map for the given key |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Retrieves a boolean value from a Map for the given key
key - The key that references the boolean valuemap - The map to look inObtains a list of strings from the map for the given key
key - The keymap - The map