Interface Importer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Importer
Interface implemented by classes that can analyze a file to prepare data for import.

An importer analyzes input files, detects issues in them, find the appropriate template, and calls the passed SheetImporter.

Author:
Damien Carbonne
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    importData(File file, Set<SheetTemplate> templates, WorkbookImporter workbookImporter, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler, cdc.util.events.ProgressController controller)
    Invoked to analyze a file that contains data to import.
    static void
    importData(File file, Set<String> templateNames, ImpExCatalog catalog, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler, cdc.util.events.ProgressController controller, ImpExFactoryFeatures features)