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 void main(String[] args) {

		// to do: use the iterator approach for OpenCSV
		// cf. http://opencsv.sourceforge.net/#how-to-read
		// essentially producing Ontology instance data and properties from the
		// input value

	}

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

		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;
	}

}

@@ -213,202 +213,8 @@
  %7B%0A%0A
-%09%09// to do: use the iterator approach for OpenCSV%0A%09%09// cf. http://opencsv.sourceforge.net/#how-to-read%0A%09%09// essentially producing Ontology instance data and properties from the%0A%09%09// input value%0A
 %0A%09%7D%0A

remove spurious comment