public class PropertiesHelper extends Object
| Constructor and Description |
|---|
PropertiesHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
findPropertiesWithPrefix(Properties properties,
String prefix)
Returns the map of entries in the properties object which have keys starting with the given prefix, removing the prefix
from the returned map
|
static Long |
getLong(Properties properties,
String key,
Long defaultValue) |
static long |
getLongValue(Map<String,String> map,
String key,
long defaultValue) |
static long |
getLongValue(Properties properties,
String key,
long defaultValue) |
public static Long getLong(Properties properties, String key, Long defaultValue)
public static long getLongValue(Properties properties, String key, long defaultValue)
public static Map<String,String> findPropertiesWithPrefix(Properties properties, String prefix)
Copyright © 2011–2014 Red Hat. All rights reserved.