public class RowIndexSelector extends AbstractCSVSelector
| Modifier and Type | Field and Description |
|---|---|
protected static Object |
ALL_INDEXES_WILCARD_CHARACTER |
csvContext, csvMap, selector| Constructor and Description |
|---|
RowIndexSelector(String selector,
List<Map<String,String>> csvMap,
CSVContext csvContext) |
| 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.
|
void |
parse() |
int |
setValues(String value)
Sets values of cells identified by the given selector to the passed value.
|
getValueFromRow, isValid, setCSVContext, setCSVMap, setSelectorprotected static final Object ALL_INDEXES_WILCARD_CHARACTER
public void parse()
throws InvalidSelectorFormatException
InvalidSelectorFormatException@Nonnull public Map<Integer,String> getValues()
CSVSelectorpublic int setValues(String value)
CSVSelectorCopyright © 2016. All Rights Reserved.