public class DefaultSettings extends Object
This class creates and delegates to other settings by using an internal
DelegatingSettings object.
| Constructor and Description |
|---|
DefaultSettings()
Constructs an instance by loading the standard property files,
any custom property files (
struts.custom.properties),
and any custom message resources (). |
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 Location getLocation(String name)
Location of given settingname - Name of the setting to locatepublic String get(String aName) throws IllegalArgumentException
aName - The name of the setting value to retrieveIllegalArgumentExceptionCopyright © 2000–2019 Apache Software Foundation. All rights reserved.