| |
|
| java.lang.Object olstore.client.Configure
Configure | public class Configure (Code) | | Loads a configuration file and returns a properties object
that represents the properties set in the configuration file.
|
Constructor Summary | |
public | Configure() Load values from a properties file and store them in field in this class. |
Configure | public Configure() throws Exception(Code) | | Load values from a properties file and store them in field in this class.
throws: Exception - if the properties file is malformed |
getProperty | public String getProperty(String name)(Code) | | Get a property by name
Parameters: name - the name of the property the value of the property with the given name |
load | public void load(String file) throws Exception(Code) | | Given a configuration file load the properties from it.
Parameters: file - The configuration file to pass in. throws: Exception - If the file is malformed. |
|
|
|