public interface CsvService
| Modifier and Type | Method and Description | 
|---|---|
String | 
createCSV(List<Rule> rules)
Creates a CSV string from the given rules. 
 | 
CsvImportResult | 
parseCSV(Group group,
        InputStream inputStream,
        boolean hasHeader)
Parses the given CSV stream into rules. 
 | 
CsvImportResult parseCSV(Group group, InputStream inputStream, boolean hasHeader) throws CSVImportException
inputStream - The inputstream to read the CSV from.hasHeader - If defined, the csv defined by the inputStream has an header, and this is skipped (not considered as a Rule).CSVImportException - is thrown when parsing the CSV fails.Copyright © 2021. All rights reserved.