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 (). | 
| Modifier and Type | Method and Description | 
|---|---|
| String | get(String aName)Retrieve value for provided name | 
| Location | getLocation(String name)Returns  Locationof given setting | 
| Iterator | list()Returns  Iteratorwith all values | 
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–2025 Apache Software Foundation. All rights reserved.