// TODO: parse type after colon.
final TypeParser[] colParser = new TypeParser[colCount];
int colIndex = 0;
for (int i = 0; i < colCount; ++i) {
final String colName = config.getColumns()[i];
colParser[i] = colName == null ? (TypeParser) new IgnoreTypeParser() : (TypeParser) new QuotedStringParser(colIndex++);
}
try {
final String colDelim = config.getColDelimiter() != null ? config.getColDelimiter() : DEFAULT_COL_DELIM;
final String rowDelim = config.getRowDelimiter() != null ? config.getRowDelimiter() : DEFAULT_ROW_DELIM;
final ImportParser parser = new ImportParser(colParser, colDelim, rowDelim);