| |
|
| java.lang.Object org.apache.struts2.config.Settings org.apache.struts2.config.PropertiesSettings
PropertiesSettings | class PropertiesSettings extends Settings (Code) | | A class to handle settings via a properties file.
|
Field Summary | |
static Log | LOG | LocatableProperties | settings |
Constructor Summary | |
public | PropertiesSettings(String name) Creates a new properties config given the name of a properties file. |
settings | LocatableProperties settings(Code) | | |
PropertiesSettings | public PropertiesSettings(String name)(Code) | | Creates a new properties config given the name of a properties file. The name is expected to NOT have
the ".properties" file extension. So when new PropertiesSettings("foo") is called
this class will look in the classpath for the foo.properties file.
Parameters: name - the name of the properties file, excluding the ".properties" extension. |
|
|
|