Hi, Yeah, you have to give a non-whitespace character there, and for the moment I can't think of a workaround for your problem, guess it's a bug we have to fix, which is simply removing the trim() and having length() > 0.
Cheers, Anjana. On Sat, Nov 6, 2010 at 5:22 AM, Hiranya Jayathilaka <[email protected]> wrote: > 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 > > -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware _______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
