Tag Archives: csv

Reading Flat files separated by | symbol

Often I have seen that there are files having lines seperated by a de-limiter |.I thought of making a class that could easily iterate over each of the line one by one.. This class PipedString represents a string which has … Continue reading

Posted in Java | Tagged , , | Leave a comment

Reading CSV made easy

How to use CSV Reader import util.CSVReader;/** * * @author : Yogesh Gandhi * @email : yogesh249@gmail.com */public class Main { public static void main(String[] args)throws Exception { CSVReader csvReader = new CSVReader(“D:\\yogesh.csv”); // As CSVReader implements Iterable // So, … Continue reading

Posted in Server Side Programming | Tagged , | Leave a comment