## 类的使用
org.springframework.core.io.support.EncodedResource

- 使用EncodedResource的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.io.support | Support classes for Spring's resource abstraction.

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

    参数类型为EncodedResource的org.springframework.core.io.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `PropertySource<?>` | DefaultPropertySourceFactory.`createPropertySource(String name, EncodedResource resource)`
    `PropertySource<?>` | PropertySourceFactory.`createPropertySource(String name, EncodedResource resource)` Create a `PropertySource` that wraps the given resource.
    `static void` | PropertiesLoaderUtils.`fillProperties(Properties props, EncodedResource resource)` Fill the given properties from the given EncodedResource, potentially defining a specific encoding for the properties file.
    `static Properties` | PropertiesLoaderUtils.`loadProperties(EncodedResource resource)` Load properties from the given EncodedResource, potentially defining a specific encoding for the properties file.

    参数类型为EncodedResource的org.springframework.core.io.support中的构造器
    构造器和说明
    `ResourcePropertySource(EncodedResource resource)` Create a PropertySource based on Properties loaded from the given resource.
    `ResourcePropertySource(String name, EncodedResource resource)` Create a PropertySource having the given name based on Properties loaded from the given encoded resource.