public class IndexedCSVRows extends Object
Constructor and Description |
---|
IndexedCSVRows(ReadByLine csvFile,
ColumnDefinition columnDefinition)
Creates an index of the rows of the CSV file according to a particular columnDefinition
|
Modifier and Type | Method and Description |
---|---|
MapGroupToRow |
get(String key) |
Set<String> |
groupNameSet() |
public IndexedCSVRows(ReadByLine csvFile, ColumnDefinition columnDefinition) throws CreateException
csvFile
- the csvFile (with no lines yet read)columnDefinition
- defines the name of columns in the CSV fileCreateException
public MapGroupToRow get(String key)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.