StringBuilder csvBuilder = new StringBuilder();
for (String col : TrackerEntry.ATTRIBUTES) {
// skip type and id column
if (!TrackerEntry.ENTRY_TYPE.equals(col) &&
!TrackerEntry.ID_COL.equals(col)) {
csvBuilder.append(col);
csvBuilder.append(DELIMITER);
}
}
csvBuilder.append("\n");
return csvBuilder.toString();