com.googlecode.hibernate.memcached
Class PropertiesHelper
java.lang.Object
com.googlecode.hibernate.memcached.PropertiesHelper
public class PropertiesHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesHelper
public PropertiesHelper(Properties properties)
get
public String get(String key)
get
public String get(String key,
String defaultVal)
findValue
public String findValue(String... keys)
getBoolean
public boolean getBoolean(String key,
boolean defaultVal)
getLong
public long getLong(String key,
long defaultVal)
getInt
public int getInt(String key,
int defaultVal)
getDouble
public double getDouble(String key,
double defaultVal)
getEnum
public <T extends Enum<T>> T getEnum(String key,
Class<T> type,
T defaultValue)
Copyright © 2015. All rights reserved.