|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.struts2.config.DefaultSettings
public class DefaultSettings
DefaultSettings implements optional methods of Settings.
This class creates and delegates to other settings by using an internal
DelegatingSettings object.
| 构造方法摘要 | |
|---|---|
DefaultSettings()
Constructs an instance by loading the standard property files, any custom property files ( struts.custom.properties),
and any custom message resources (). |
|
| 方法摘要 | |
|---|---|
String |
get(String aName)
Retrieve value for provided name |
com.opensymphony.xwork2.util.location.Location |
getLocation(String name)
Returns Location of given setting |
Iterator |
list()
Returns Iterator with all values |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public DefaultSettings()
struts.custom.properties),
and any custom message resources ().
Since this constructor combines Settings from multiple resources,
it utilizes a DelegatingSettings instance,
and all API calls are handled by that instance.
| 方法详细信息 |
|---|
public com.opensymphony.xwork2.util.location.Location getLocation(String name)
Location of given setting
name - Name of the setting to locate
public String get(String aName)
throws IllegalArgumentException
aName - The name of the setting value to retrieve
IllegalArgumentExceptionpublic Iterator list()
Iterator with all values
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||