package ws.gazebo.util.region.state;

import java.io.FileReader;
import java.io.IOException;

import au.com.bytecode.opencsv.CSVReader;

public class OntToolCensusStates {

	public static final StateTable readStateInfo(String pathname)
			throws IOException {
		String[] buffer;
		StateTable table = new StateTable();

		CSVReader reader = null;
		try {
			reader = new CSVReader(new FileReader(pathname));
			while ((buffer = reader.readNext()) != null) {
				table.addStateInfo(buffer);
			}
		} finally {
			if (reader != null) {
				reader.close();
			}
		}

		return table;
	}

}

@@ -397,18 +397,72 @@
 athname)
-);
+,'%7C');%0A%09%09%09reader.readNext(); // skip initial header line
 %0A%09%09%09whil

use pipe '|' delimiter; skip initial header line