|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyHandler
Method Summary | |
---|---|
boolean |
exists(String filename)
check to see whether a property file exists within the classpath or filesystem |
String |
getProperty(String key)
return the value of a given key from the properties list |
String |
getProperty(String key,
String defValue)
return the value of a given key from the properties list, returning the defValue string should the key not be found |
boolean |
loadProps(String filename)
load properties for the given properties file |
Method Detail |
---|
boolean loadProps(String filename)
filename
-
boolean exists(String filename)
filename
-
String getProperty(String key)
key
-
String getProperty(String key, String defValue)
key
- defValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |