Class FileXPorter
java.lang.Object
clazzfish.monitor.spi.FileXPorter
- All Implemented Interfaces:
CsvXPorter
The class FileXPorter accepts a file URI to import and export CSV data.
- Since:
- 2.5 (18.02.25)
- Author:
- oboehm
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileXPorter
public FileXPorter()
-
-
Method Details
-
exportCSV
Description copied from interface:CsvXPorterInterface for exporting CSV.- Specified by:
exportCSVin interfaceCsvXPorter- Parameters:
uri- URI wher the CSV should be exported tocsvHeadLine- CSV headercsvLines- CSV lines- Throws:
IOException- in case of I/O problems
-
importCSV
Description copied from interface:CsvXPorterInterface for importing a CSV. This method should be called inCsvXPorter.exportCSV(URI, String, List)to aggregate the count of the actual export with former exports.- Specified by:
importCSVin interfaceCsvXPorter- 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
-