package de.superx.servlet; import java.util.LinkedList; import java.util.List; public class CSVResultReport { private int rowCount = 1; private int errorCount = 0; private List messages = new LinkedList(); private String colnames=""; public String getColnames() { return colnames; } public void setColnames(String colnames) { this.colnames = colnames; } public int getRowCount() { return rowCount; } public List getMessages() { return messages; } public void incError(String error) { messages.add(error); errorCount++; } public void incRowCount() { rowCount++; } public int getErrorCount() { return errorCount; } public String resultToHtml() { StringBuffer buf = new StringBuffer( de.superx.servlet.SuperXManager.htmlPageHead("Erfolg")+"
" + (getRowCount()-1)+" Datensätze importiert" + "
"); buf.append("