## 类的使用
org.springframework.core.env.EnumerablePropertySource

- 使用EnumerablePropertySource的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.env | Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.
  org.springframework.core.io.support | Support classes for Spring's resource abstraction.

- - ### org.springframework.core.env中EnumerablePropertySource的使用

    org.springframework.core.env中EnumerablePropertySource的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `CommandLinePropertySource<T>` Abstract base class for `PropertySource` implementations backed by command line arguments.
    `class` | `CompositePropertySource` Composite `PropertySource` implementation that iterates over a set of `PropertySource` instances.
    `class` | `JOptCommandLinePropertySource` `CommandLinePropertySource` implementation backed by a JOpt `OptionSet`.
    `class` | `MapPropertySource` `PropertySource` that reads keys and values from a `Map` object.
    `class` | `PropertiesPropertySource` `PropertySource` implementation that extracts properties from a `Properties` object.
    `class` | `SimpleCommandLinePropertySource` `CommandLinePropertySource` implementation backed by a simple String array.
    `class` | `SystemEnvironmentPropertySource` Specialization of `MapPropertySource` designed for use with system environment variables.

  - ### org.springframework.core.io.support中EnumerablePropertySource的使用

    org.springframework.core.io.support中EnumerablePropertySource的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ResourcePropertySource` Subclass of `PropertiesPropertySource` that loads a `Properties` object from a given `Resource` or resource location such as `"classpath:/com/myco/foo.properties"` or `"file:/path/to/file.xml"`.