Fix csv output to use "" for an empty string.

This commit is contained in:
Jimmy Shih
2012-09-06 15:37:34 -07:00
parent 868a42f106
commit 0537eb3518
@@ -232,11 +232,11 @@ public class CsvTrackWriter implements TrackFormatWriter {
}
isFirst = false;
builder.append('"');
if (value != null) {
builder.append('"');
builder.append(value.replaceAll("\"", "\"\""));
builder.append('"');
}
builder.append('"');
}
printWriter.println(builder.toString());
}