PTMScoringPreferences ptmcoringPreferences, SpectrumCountingPreferences spectrumCountingPreferences, WaitingHandler waitingHandler)
throws IOException, IllegalArgumentException, SQLException, ClassNotFoundException, InterruptedException, MzMLUnmarshallerException, MathException {
ExportWriter exportWriter = ExportWriter.getExportWriter(exportFormat, destinationFile, exportScheme.getSeparator(), exportScheme.getSeparationLines());
if (exportWriter instanceof ExcelWriter) {
ExcelWriter excelWriter = (ExcelWriter) exportWriter;
PsExportStyle exportStyle = PsExportStyle.getReportStyle(excelWriter);
excelWriter.setWorkbookStyle(exportStyle);
}
exportWriter.writeMainTitle(exportScheme.getMainTitle());
for (String sectionName : exportScheme.getSections()) {