インターフェース 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 the path of the given resource if it can also be represented as a FileSystemResource
  • メソッドの詳細

    • resolveFilePath

      StringSE resolveFilePath(StringSE location, Resource resource)
      Return the path of the given resource if it can also be represented as a FileSystemResource
      パラメーター:
      location - the location used to create the resource
      resource - チェックするリソース
      戻り値:
      the file path of the resource or null if the it is not possible to represent the resource as a FileSystemResource