public class PropertiesFactory extends Object
| Constructor and Description |
|---|
PropertiesFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getDefaultProperties()
Returns the systems default properties, as read from the configuration file.
|
static Properties |
getPropertiesFromFile(String propertyFileName,
ClassLoader classLoader)
Returns the config properties read from a specified location.
|
public static Properties getDefaultProperties()
public static Properties getPropertiesFromFile(String propertyFileName, ClassLoader classLoader)
propertyFileName - the file name. If relative, this is located using the FileLocator algorithm.Copyright © 2013. All Rights Reserved.