インターフェースの使用
org.springframework.core.io.ContextResource
パッケージ
説明
フレームワーク全体で使用される(ファイルベースの)リソースの一般的な抽象化。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。org.springframework.core.io 内の ContextResource 使用
修飾子と型クラス説明protected static class
ContextResource インターフェースを実装することにより、コンテキスト相対パスを明示的に表現する ClassPathResource。org.springframework.web.context.support 内の ContextResource 使用