|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CSVTable
An object that represents a CSV table of data. A CSV table must have a header row which contains labels for each column in the CSV table. Values must be comma separated and, optionally, quoted using double quotes (ex ").
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
get(int i)
Returns the specified row (zero-indexed) from the CSV table. |
java.util.Map<java.lang.String,java.lang.String> |
random()
Returns a random row in the CSV table. |
int |
size()
Returns the total number of rows in the CSV file, minus the header row. |
Method Detail |
---|
int size()
java.util.Map<java.lang.String,java.lang.String> random()
java.util.Map<java.lang.String,java.lang.String> get(int i)
i
- the index of the CSV table, where 0 is the first row after the header row.
|
© 2023 Vercara, LLC. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |