|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to load configuration properties.
Method Summary | |
Properties |
loadProperties(File confDir,
String batchName)
Load a properties file that contains the configuration. |
Properties |
loadProperties(File confDir,
String batchName,
String globalPropertyFile)
Load several properties files that contains the configuration. |
Method Detail |
public Properties loadProperties(File confDir, String batchName) throws FileNotFoundException, IOException
confDir
- The batch configuration directory.batchName
- The job name.
FileNotFoundException
- if the property file doesn't exists.
IOException
- if an io error occurs.public Properties loadProperties(File confDir, String batchName, String globalPropertyFile) throws FileNotFoundException, IOException
confDir
- The batch configuration directory.batchName
- The job name.globalPropertyFile
- A global property file that can be used to centralize
configuration for several batches.
FileNotFoundException
- if the property file doesn't exists.
IOException
- if an io error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |