org.springframework.datastore.config.utils
Class ConfigUtils

java.lang.Object
  extended by org.springframework.datastore.config.utils.ConfigUtils

public class ConfigUtils
extends Object

Used to ease reading of configuration


Constructor Summary
ConfigUtils()
           
 
Method Summary
static
<T> T
read(Class<T> type, String key, Map<String,String> config, T defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigUtils

public ConfigUtils()
Method Detail

read

public static <T> T read(Class<T> type,
                         String key,
                         Map<String,String> config,
                         T defaultValue)