インターフェース ApplicationResourceLoader.FilePathResolver
- 含まれているクラス:
- ApplicationResourceLoader
public static interface ApplicationResourceLoader.FilePathResolver
Strategy interface registered in
spring.factories
and used by ApplicationResourceLoader
to determine the file path of loaded resource when it can also be represented as a FileSystemResource
。- 導入:
- 3.4.5
- 作成者:
- Phillip Webb
メソッドのサマリー
修飾子と型メソッド説明resolveFilePath
(StringSE location, Resource resource) Return thepath
of the given resource if it can also be represented as aFileSystemResource
。
メソッドの詳細
resolveFilePath
Return thepath
of the given resource if it can also be represented as aFileSystemResource
。- パラメーター:
location
- the location used to create the resourceresource
- チェックするリソース- 戻り値:
- the file path of the resource or
null
if the it is not possible to represent the resource as aFileSystemResource
。