public CsvTable unmarshal(String csvContent, boolean hasHeader) {
CsvTable table = new CsvTable(hasHeader);
StringTokenizer tokLine = new StringTokenizer(csvContent, LINE_SEPARATOR);
boolean isFirst = true;
while (tokLine.hasMoreTokens()) {
CsvStringTokenizer tokCell = new CsvStringTokenizer(tokLine.nextToken(), DELIMITER);
CsvRow row = new CsvRow();
while (tokCell.hasMoreElements()) {
row.add(tokCell.nextElement().toString().trim());
}
if(hasHeader && isFirst) {
table.setHeader(row);
} else {
table.add(row);