|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertiesDao
Reads data from properties files.
Method Summary | |
---|---|
ElasticPath |
getElasticPath()
Get the ElasticPath instance. |
java.util.Properties |
getPropertiesFile(java.lang.String propertyFileName)
Get the properties of the given filename, takes filename with properties extension or without extension. |
java.util.Map |
loadProperties()
Returns a properties map where the keys are properties file names and the values are Properties objects. |
void |
setElasticPath(ElasticPath elasticPath)
Set the ElasticPath instance. |
void |
setPropertiesDir(java.lang.String propertiesDir)
Set the name of the alternative properties directory. |
void |
storePropertiesFile(java.util.Properties property,
java.lang.String propertyFileName)
Persist the properties object to file, takes filename with properties extension or without extension. |
Method Detail |
---|
ElasticPath getElasticPath()
ElasticPath
instance.
ElasticPath
instance.java.util.Properties getPropertiesFile(java.lang.String propertyFileName)
propertyFileName
- the filename of the properties file
java.util.Map loadProperties()
void setElasticPath(ElasticPath elasticPath)
ElasticPath
instance.
elasticPath
- the instance of ElasticPath
void setPropertiesDir(java.lang.String propertiesDir)
propertiesDir
- the directory containing properties filesvoid storePropertiesFile(java.util.Properties property, java.lang.String propertyFileName)
property
- the properties object to store to filepropertyFileName
- the filename for the properties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |