public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToMapIfNotNull(Map<String,Object> map,
String key,
Object value) |
static void |
addToMapIfNotNull(Map<String,Object> map,
String key,
Object value,
String keyPrefix) |
static Map<String,Object> |
fileToMap(File file) |
static Map<String,Object> |
fileToMap(File file,
String keyPrefix) |
public static void addToMapIfNotNull(Map<String,Object> map, String key, Object value)
public static void addToMapIfNotNull(Map<String,Object> map, String key, Object value, String keyPrefix)
public static Map<String,Object> fileToMap(File file) throws IOException
IOExceptionpublic static Map<String,Object> fileToMap(File file, String keyPrefix) throws IOException
IOExceptionCopyright © 2016. All rights reserved.