public interface CSVSelector
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,String> |
getValues()
Retrieves cell values from the given map according to the given selector and returns as map in which the key is the row index.
|
boolean |
isValid()
Checks whether the CSVSelector is valid
|
void |
parse() |
void |
setCSVContext(CSVContext csvContext) |
void |
setCSVMap(List<Map<String,String>> csvMap) |
void |
setSelector(String csvSelectorString) |
int |
setValues(String value)
Sets values of cells identified by the given selector to the passed value.
|
void setSelector(String csvSelectorString)
void setCSVContext(CSVContext csvContext)
boolean isValid()
void parse()
throws InvalidSelectorFormatException
InvalidSelectorFormatExceptionMap<Integer,String> getValues()
InvalidSelectorValueException - if the given selector does not match one of the existing columnsint setValues(String value)
value - Copyright © 2016. All Rights Reserved.