Interface ExampleImportResolver
- All Known Implementing Classes:
AbstractExampleImportResolver
,CompleteProductExampleImportResolver
,DefaultExampleImportResolver
,PriceDataExampleImportResolver
,UserExampleImportResolver
public interface ExampleImportResolver
Resolves an example file for a given type and file type
- Author:
- Phillip Verheyden (phillipuniverse)
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.Resource
resolveExample
(String type, String fileType) Resolve an import file used as an example for the end user to download
-
Method Details
-
resolveExample
Resolve an import file used as an example for the end user to download- Parameters:
type
- usually fromDefaultImportType
like PRODUCT is being requestedfileType
- file type that the import is requested for- Returns:
- a resource to the example file
-