Class FixedLenReader

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

public class FixedLenReader extends Object implements org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
  • Constructor Details

  • Method Details

    • getHeader

      public String[] getHeader() throws IOException
      Specified by:
      getHeader in interface org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
      Throws:
      IOException
    • getColumnsCount

      public int getColumnsCount() throws IOException
      Specified by:
      getColumnsCount in interface org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
      Throws:
      IOException
    • read

      public List<String> read() throws IOException
      Specified by:
      read in interface org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
      Throws:
      IOException
    • parse

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

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
      Throws:
      IOException
    • skip

      public List<String> skip(int lines) throws IOException
      Specified by:
      skip in interface org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
      Throws:
      IOException
    • getLine

      public int getLine()
      Specified by:
      getLine in interface org.gvsig.fmap.dal.store.simplereader.simplereaders.SimpleReader
    • nextRowValues

      public List<String> nextRowValues()
      Specified by:
      nextRowValues in interface org.gvsig.fmap.dal.store.simplereader.AutomaticDetectionOfTypes.Rows