Class CSVParser

  • All Implemented Interfaces:
    java.lang.Iterable<java.util.List<java.lang.String>>

    public class CSVParser
    extends java.lang.Object
    implements java.lang.Iterable<java.util.List<java.lang.String>>
    Wrapper for Commons CSV parser.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CSVParser create​(java.io.InputStream input)  
      static CSVParser create​(java.io.Reader input)
      Be careful about charsets
      static CSVParser create​(java.lang.String filename)  
      java.util.Iterator<java.util.List<java.lang.String>> iterator()  
      java.util.List<java.lang.String> parse1()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • create

        public static CSVParser create​(java.lang.String filename)
      • create

        public static CSVParser create​(java.io.InputStream input)
      • create

        public static CSVParser create​(java.io.Reader input)
        Be careful about charsets
      • iterator

        public java.util.Iterator<java.util.List<java.lang.String>> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<java.util.List<java.lang.String>>
      • parse1

        public java.util.List<java.lang.String> parse1()