Interface ImportedDataExtractor

All Known Implementing Classes:
CsvDataExtractor, ExcelDataExtractor, JsonDataExtractor, XmlDataExtractor

public interface ImportedDataExtractor
Parses the data from source and returns an instance of ImportedData containing list of ImportedDataItem with raw values
  • Method Details

    • extract

      ImportedData extract(ImportConfiguration importConfiguration, InputStream inputStream)
      Parses input data specified as input stream and creates an instance of ImportedData.
      Parameters:
      importConfiguration - import configuration
      inputStream - input data
      Returns:
      an instance of ImportedData containing list of ImportedDataItem with raw values for entity properties
    • extract

      ImportedData extract(ImportConfiguration importConfiguration, byte[] inputData)
      Parses input data specified as a byte array and creates an instance of ImportedData.
      Parameters:
      importConfiguration - import configuration
      inputData - input data
      Returns:
      an instance of ImportedData containing list of ImportedDataItem with raw values for entity properties
    • getSupportedDataFormat

      String getSupportedDataFormat()
      Returns:
      supported format of input data