Package org.apache.struts2.config

# Class DefaultSettings

java.lang.Object
org.apache.struts2.config.DefaultSettings

public class DefaultSettings extends Object
DefaultSettings implements optional methods of Settings.

This class creates and delegates to other settings by using an internal `DelegatingSettings` object.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultSettings()`
  Constructs an instance by loading the standard property files, any custom property files (`struts.custom.properties`), and any custom message resources ().

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `get(String aName)`
  `Location`
  `getLocation(String name)`
  `Iterator`
  `list()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultSettings

    public DefaultSettings()
    Constructs an instance by loading the standard property files, any custom property files (`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.

- ## Method Details

  - ### getLocation

    public Location getLocation(String name)

  - ### get

    public String get(String aName) throws IllegalArgumentException
    Throws:
      `IllegalArgumentException`

  - ### list

    public Iterator list()