Added some translation + csv output changed to tsl.

This commit is contained in:
2019-04-26 10:00:11 +02:00
parent 3dbc5841dd
commit e103bfa38d
2 changed files with 27 additions and 27 deletions

View File

@@ -117,7 +117,7 @@ public class Export {
title = statistics.generateResultTitle();
fileName = title.replace(": ", "-");
fileName = fileName.replace(" ", "_").concat(".csv");
fileName = fileName.replace(" ", "_").concat(".tsv");
fileName = resultsPath.toString().concat(File.separator).concat(fileName);
@@ -130,7 +130,7 @@ public class Export {
CSVPrinter csvFilePrinter = null;
//Create the CSVFormat object with "\n" as a record delimiter it puts all words in braces
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter(';').withQuoteMode(QuoteMode.ALL);
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter('\t').withQuoteMode(QuoteMode.ALL);
try {
//initialize FileWriter object
@@ -300,7 +300,7 @@ public class Export {
CSVPrinter csvFilePrinter = null;
//Create the CSVFormat object with "\n" as a record delimiter
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter(';');
CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR).withDelimiter('\t');
try {
//initialize FileWriter object