Class SormCSVWriter

java.lang.Object
au.com.bytecode.opencsv.CSVWriter
ru.bitel.bgbilling.modules.sorm.server.bean.SormCSVWriter
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class SormCSVWriter extends au.com.bytecode.opencsv.CSVWriter
Реализация только для сорма. Содержит в себе счётчик записанных строк в файл, если кол-во записанных строк становится равным заданному лимиту, то вызывается flush() и счётчик сбрасывается
  • Field Summary

    Fields inherited from class au.com.bytecode.opencsv.CSVWriter

    DEFAULT_ESCAPE_CHARACTER, DEFAULT_LINE_END, DEFAULT_QUOTE_CHARACTER, DEFAULT_SEPARATOR, INITIAL_STRING_SIZE, NO_ESCAPE_CHARACTER, NO_QUOTE_CHARACTER
  • Constructor Summary

    Constructors
    Constructor
    Description
    SormCSVWriter(Writer writer, char separator, char quotechar)
     
    SormCSVWriter(Writer writer, char separator, char quotechar, int chunkSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeNext(String[] nextLine)
     

    Methods inherited from class au.com.bytecode.opencsv.CSVWriter

    checkError, close, flush, flushQuietly, processLine, setResultService, writeAll, writeAll, writeAll, writeAll, writeColumnNames, writeNext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SormCSVWriter

      public SormCSVWriter(Writer writer, char separator, char quotechar, int chunkSize)
    • SormCSVWriter

      public SormCSVWriter(Writer writer, char separator, char quotechar)
  • Method Details

    • writeNext

      public void writeNext(String[] nextLine)
      Overrides:
      writeNext in class au.com.bytecode.opencsv.CSVWriter