Interface CsvXPorter
- All Known Implementing Classes:
CsvPrinter
,FileXPorter
,GitCsvXPorter
public interface CsvXPorter
The interface CsvXPorter contains the needed methods to import and export
a CSV file for different locations.
- Since:
- 2.5 (18.02.25)
- Author:
- oboehm
-
Field Summary
Fields -
Method Summary
-
Field Details
-
log
static final org.slf4j.Logger log
-
-
Method Details
-
exportCSV
Interface for exporting CSV.- Parameters:
uri
- URI wher the CSV should be exported tocsvHeadLine
- CSV headercsvLines
- CSV lines- Throws:
IOException
- in case of I/O problems
-
importCSV
Interface for importing a CSV. This method should be called inexportCSV(URI, String, List)
to aggregate the count of the actual export with former exports.- Parameters:
uri
- URI where the CSV should be imported from- Returns:
- list of CSV lines (including head line)
- Throws:
IOException
- in case of I/O problems
-