Class TextWriter

java.lang.Object
com.compomics.util.io.export.ExportWriter
com.compomics.util.io.export.writers.TextWriter

public class TextWriter extends ExportWriter
ExportWriter for the export to text files.
Author:
Marc Vaudel
  • Constructor Details

    • TextWriter

      public TextWriter()
      Empty default constructor
    • TextWriter

      public TextWriter(File destinationFile, String separator, int nSeparationLines, boolean gzip) throws IOException
      Constructor.
      Parameters:
      destinationFile - the file where to write the report
      separator - separator between two values
      nSeparationLines - the number of lines to include between two sections
      gzip - if true export as gzipped file
      Throws:
      IOException - if an IOException occurs
  • Method Details