Documentation

compared with
Current by Brendan Patterson
on Oct 12, 2005 23:48.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History

{code}
// where parse takes a String
String returned[][] = CSVParser.parse(getTestDataSet1());
{code}

or this

{code}
// where you hand it a file relative or absolute path and a delimiter
String returned[][] = CSVParser.parseFile("testUsers.csv",",");
{code}

or this

{code}
// where you get all of the tokens back in a single list
List parsedList = CSVParser.parseAsSingleList(csvInput,",");
{code}

or this

{code}
// where you get back a List of lists with each inner list corresponding to a row of tokens
List parsedList = CSVParser.parse(getTestDataSet1());
{code}

or this