throw new ParseException(
"The pasted text is too big. "
+ "This demo supports only up to 75000 characters in the pasted text.");
}
StringTable parsedRows = new CSVStringTableParser().parse(pastedText);
if (parsedRows.getColumnCount() > 20) {
throw new ParseException(
"Too many columns. This demo supports only up to 20 columns.");
}
if (parsedRows.getRowCount() > 400) {
throw new ParseException(
"Too many rows. This demo supports only up to 400 rows.");
}
ResourceSet parsedResources = importer.createResources(parsedRows);