|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.component.framework.api.util.PropertiesUtil
public class PropertiesUtil
Utility to handle a CDK properties file.
| Constructor Summary | |
|---|---|
PropertiesUtil()
|
|
| Method Summary | |
|---|---|
static java.util.Properties |
loadProperties(java.lang.String propertiesFilePath)
Load a Properties object from a properties file path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesUtil()
| Method Detail |
|---|
public static final java.util.Properties loadProperties(java.lang.String propertiesFilePath)
throws com.ebmwebsourcing.easycommons.properties.PropertiesException
Load a Properties object from a properties file path. The file
path can be relative path based on Petals root path or a valid URL.
Exemples :
Relative path : /conf/external.properties
Absolute path : file:///C:/conf/external.properties
URL : ftp://user:pwd@host:port/external.properties
propertiesFilePath - The file path can be relative path based on Petals root path
or a valid URL
Properties object fill with properties value found in
the targeted file
com.ebmwebsourcing.easycommons.properties.PropertiesException - if an error occurs when reading external properties file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||