Class CSVExportFileWriteContext

java.lang.Object
com.broadleafcommerce.common.dataexport.service.ExportFileWriteContext
com.broadleafcommerce.common.dataexport.service.CSVExportFileWriteContext
All Implemented Interfaces:
AutoCloseable

public class CSVExportFileWriteContext extends ExportFileWriteContext
Holds state information required by CSVExportFileWriter.
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • CSVExportFileWriteContext

      public CSVExportFileWriteContext(@NonNull @NonNull OutputStream outputStream)
  • Method Details

    • buildCsvWriterSettings

      protected com.univocity.parsers.csv.CsvWriterSettings buildCsvWriterSettings()
    • close

      public void close()
    • getCsvWriter

      @NonNull public @NonNull com.univocity.parsers.csv.CsvWriter getCsvWriter()