Class CSVReaderSuperCSV

java.lang.Object
org.gvsig.fmap.dal.store.simplereader.simplereaders.AbstractSimpleReader
org.gvsig.fmap.dal.store.csv.simplereaders.CSVReaderSuperCSV
All Implemented Interfaces:
Closeable, AutoCloseable, org.gvsig.fmap.dal.store.simplereader.AutomaticDetectionOfTypes.Rows, org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader

public class CSVReaderSuperCSV extends org.gvsig.fmap.dal.store.simplereader.simplereaders.AbstractSimpleReader
  • Constructor Details

  • Method Details

    • getParameters

      public CSVStoreParameters getParameters()
    • getHeader

      public String[] getHeader() throws IOException
      Throws:
      IOException
    • getColumnsCount

      public int getColumnsCount() throws IOException
      Throws:
      IOException
    • getVirtualRows

      public org.gvsig.tools.util.GetItemWithSize64<List<String>> getVirtualRows(org.gvsig.tools.task.SimpleTaskStatus status)
      Overrides:
      getVirtualRows in class org.gvsig.fmap.dal.store.simplereader.simplereaders.AbstractSimpleReader
    • read

      public List<String> read() throws IOException
      Throws:
      IOException
    • close

      public void close() throws IOException
      Throws:
      IOException
    • skip

      public List<String> skip(int lines) throws IOException
      Throws:
      IOException
    • getCSVPreferences

      public final org.supercsv.prefs.CsvPreference getCSVPreferences()
    • getLine

      public int getLine()
    • nextRowValues

      public List<String> nextRowValues()
    • escapeCRLF

      public static String escapeCRLF(String s)
    • unescapeCRLF

      public static String unescapeCRLF(String s)
    • main

      public static void main(String[] args)
    • getIndexFile

      public static File getIndexFile(File data_file)