## 接口的使用
org.springframework.core.io.ContextResource

- 使用ContextResource的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.io | Generic abstraction for (file-based) resources, used throughout the framework.

- - ### org.springframework.core.io中ContextResource的使用

    实现ContextResource的org.springframework.core.io中的类
    限定符和类型 | 类和说明
    --- | ---
    `protected static class` | `DefaultResourceLoader.ClassPathContextResource` ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.