char delimiter = CharUtils.toChar(loader.getDelimiter());
char encapsulator = (loader.getEncapsulator() == null || loader
.getEncapsulator().length() == 0) ? CSVStrategy.ENCAPSULATOR_DISABLED
: CharUtils.toChar(loader.getEncapsulator());
log.info(String.format("delimiter %d encapsulator %d", (int)delimiter, (int)encapsulator));
CSVStrategy strategy = new CSVStrategy(delimiter, encapsulator, CSVStrategy.COMMENTS_DISABLED,
CSVStrategy.ESCAPE_DISABLED, true, true, false, true);
parser = new CSVParser(reader, strategy);
this.loader = loader;
formatMap = new HashMap<String, Format>();
try {