Hi Folks,

It seems $subject is impossible due to the way CSVConfig is implemented.
Take a look at the following code segment:

                String columnSeparatorStr =
this.getProperty(DBConstants.CSV.COLUMN_SEPARATOR);
if (columnSeparatorStr != null && columnSeparatorStr.trim().length() == 1) {
this.columnSeparator = columnSeparatorStr.trim().charAt(0);
} else {
this.columnSeparator = ',';
}

If tab is specified as the column separator the trim() operation will get
rid of it and the above code segment will select ',' as the separator. Is
there a workaround?

Thanks
-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to