Class CSVFileReferenceOpenCSVImpl

    • Constructor Detail

      • CSVFileReferenceOpenCSVImpl

        public CSVFileReferenceOpenCSVImpl​(java.nio.file.Path file)
      • CSVFileReferenceOpenCSVImpl

        @Deprecated
        public CSVFileReferenceOpenCSVImpl​(java.nio.file.Path file,
                                           java.lang.String filename,
                                           long fileSizeInBytes)
        Deprecated.
    • Method Detail

      • readHeader

        public java.lang.String[] readHeader​(CSVConfig importConfig)
                                      throws java.io.IOException
        Description copied from interface: CSVFile
        Returns the first row of the CSV file.
        Returns:
        Throws:
        java.io.IOException
      • createReader

        public ICSVReader createReader​(CSVConfig config)
                                throws java.io.IOException
        Description copied from interface: CSVFile
        Returns a new ICSVReader that can be used to read through the input stream. The caller is responsible for calling ICSVReader.close() on the reader.
        Returns:
        Throws:
        java.io.IOException
      • getCSV

        public ICSV getCSV()
        Returns:
        the CSV reader/writer interface used for this CSVFile