Class CsvParser
java.lang.Object
de.westemeyer.plugins.multiselect.parser.CsvParser
- All Implemented Interfaces:
ConfigParser
Parser implementation to use for CSV configuration type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzeConfiguration(InputStream config) Analyze configuration string and transform it into a tree representation of values.protected com.opencsv.CSVReadercreateCsvReader(InputStreamReader reader) Get validation result, problems, etc.
-
Constructor Details
-
CsvParser
public CsvParser()
-
-
Method Details
-
analyzeConfiguration
Analyze configuration string and transform it into a tree representation of values.- Specified by:
analyzeConfigurationin interfaceConfigParser- Parameters:
config- configuration input stream- Returns:
- tree of variable values
-
createCsvReader
-
getValidationResult
Description copied from interface:ConfigParserGet validation result, problems, etc.- Specified by:
getValidationResultin interfaceConfigParser- Returns:
- validation result
-