Interface ICSV

  • All Known Implementing Classes:
    CSVOpenCSVImpl, CSVUnivocityImpl

    public interface ICSV
    Wrapper around some CSV parsing library.
    Author:
    F. Mannhardt
    • Method Detail

      • createWriter

        ICSVWriter createWriter​(java.io.OutputStream os,
                                CSVConfig config)
                         throws java.io.IOException
        Returns a new ICSVWriter that can be used to write data to a new OutputStream in CSV format. The caller is responsible for calling ICSVWriter.close() on the writer.
        Parameters:
        os -
        config -
        Returns:
        Throws:
        java.io.IOException
      • createReader

        ICSVReader createReader​(java.io.InputStream is,
                                CSVConfig config)
                         throws java.io.IOException
        Returns a new ICSVReader that can be used to read data from the InputStream in CSV format. The caller is responsible for calling ICSVReader.close() on the writer.
        Parameters:
        os -
        config -
        Returns:
        Throws:
        java.io.IOException