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 Type
    Method
    Description
    org.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

      org.springframework.core.io.Resource resolveExample(String type, String fileType)
      Resolve an import file used as an example for the end user to download
      Parameters:
      type - usually from DefaultImportType like PRODUCT is being requested
      fileType - file type that the import is requested for
      Returns:
      a resource to the example file