Package org.springframework.boot.io
Interface ApplicationResourceLoader.FilePathResolver
- Enclosing class:
- 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.- Since:
- 3.4.5
- 
Method SummaryModifier and TypeMethodDescriptionresolveFilePath(String location, org.springframework.core.io.Resource resource) Return thepathof the given resource if it can also be represented as aFileSystemResource.
- 
Method Details- 
resolveFilePathReturn thepathof the given resource if it can also be represented as aFileSystemResource.- Parameters:
- location- the location used to create the resource
- resource- the resource to check
- Returns:
- the file path of the resource or nullif the it is not possible to represent the resource as aFileSystemResource.
 
 
-