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 Summary
Modifier and TypeMethodDescriptionextract(ImportConfiguration importConfiguration, byte[] inputData) Parses input data specified as a byte array and creates an instance ofImportedData.extract(ImportConfiguration importConfiguration, InputStream inputStream) Parses input data specified as input stream and creates an instance ofImportedData.
-
Method Details
-
extract
Parses input data specified as input stream and creates an instance ofImportedData.- Parameters:
importConfiguration- import configurationinputStream- input data- Returns:
- an instance of
ImportedDatacontaining list ofImportedDataItemwith raw values for entity properties
-
extract
Parses input data specified as a byte array and creates an instance ofImportedData.- Parameters:
importConfiguration- import configurationinputData- input data- Returns:
- an instance of
ImportedDatacontaining list ofImportedDataItemwith raw values for entity properties
-
getSupportedDataFormat
String getSupportedDataFormat()- Returns:
- supported format of input data
-