@Status(stage=DEVELOPMENT, unitTests=ABSENT) @Review(by="Kees Schotanus",at="2009-09-28") @Review(by="Kees Schotanus",at="2010-10-22",reason="Totally rewrote csv classes") public class CsvMemoryReader extends AbstractCsvReader
Constructor and Description |
---|
CsvMemoryReader(List<String> rows)
Constructs this CsvMemoryReader that will read csv data from the supplied
list of rows.
|
CsvMemoryReader(List<String> rows,
Character columnSeparator)
Constructs this CsvMemoryReader that will read csv data from the supplied
list of rows, using the supplied columnSeparator as a column separator.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getNextRow()
Gets the next row of columns.
|
getColumnSeparator, getRowSeparator, setColumnSeparator, setRowSeparator
public CsvMemoryReader(List<String> rows)
rows
- The rows to read the csv data from.public CsvMemoryReader(List<String> rows, Character columnSeparator)
columnSeparator
- The separator that separates the columns in each
row.rows
- The rows to read the csv data from.public String[] getNextRow()
getNextRow
in class AbstractCsv
Copyright © 2008–2018. All rights reserved.