FileDocCategorySizeDatePackage
CSVSimple.javaAPI DocExample569Sun Feb 22 17:46:24 GMT 2004None

CSVSimple

public class CSVSimple extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		CSV parser = new CSV();
		List list = parser.parse(
			"\"LU\",86.25,\"11/4/1998\",\"2:19PM\",+4.0625");
		Iterator it = list.iterator();
		while (it.hasNext()) {
			System.out.println(it.next());
		}

		// Now test with a non-default separator
		parser = new CSV('|");
		list = parser.parse(
			"\"LU\"|86.25|\"11/4/1998\"|\"2:19PM\"|+4.0625");
		it = list.iterator();
		while (it.hasNext()) {
			System.out.println(it.next());
		}