String sPropFileLine = null;
BufferedReader oBufReader = null;
String[] GroupArr = null;
try {
oBufReader = new BufferedReader(new FileReader("C:/mstrblog/data.csv"));
while ((sPropFileLine = oBufReader.readLine()) != null) {
GroupArr = sPropFileLine.split(",");
printOut(GroupArr[1]);
}
}
catch (Exception e) {
printErr("Error reading csv file: " + e.getLocalizedMessage()); 
}

Leave a Reply

Your email address will not be published. Required fields are marked *