camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Created] (CAMEL-9860) csv dataformat - Should have quoteMode option in model
Date Tue, 12 Apr 2016 09:47:25 GMT
Claus Ibsen created CAMEL-9860:

             Summary: csv dataformat - Should have quoteMode option in model
                 Key: CAMEL-9860
             Project: Camel
          Issue Type: Improvement
          Components: camel-core, camel-csv
    Affects Versions: 2.15.0
            Reporter: Claus Ibsen
             Fix For: 2.16.4, 2.17.1, 2.18.0

We need to add option for this in the model

private QuoteMode quoteMode;

In the model it should be

private String quoteMode

And then we convert the string to the enum
public enum QuoteMode {

     * Quotes all fields.

     * Quotes fields which contain special characters such as a delimiter, quote character
or any of the characters in
     * line separator.

     * Quotes all non-numeric fields.

     * Never quotes fields. When the delimiter occurs in data, it is preceded by the current
escape character. If the
     * escape character is not set, printing will throw an exception if any characters that
require escaping are
     * encountered.

This message was sent by Atlassian JIRA

View raw message