Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C82D19334 for ; Tue, 12 Apr 2016 09:49:26 +0000 (UTC) Received: (qmail 64010 invoked by uid 500); 12 Apr 2016 09:49:25 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 63881 invoked by uid 500); 12 Apr 2016 09:49:25 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 63821 invoked by uid 99); 12 Apr 2016 09:49:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 09:49:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 86D2F2C1F5C for ; Tue, 12 Apr 2016 09:49:25 +0000 (UTC) Date: Tue, 12 Apr 2016 09:49:25 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-9860) csv dataformat - Should have quoteMode option in model MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9860: ------------------------------- Assignee: Andrea Cosentino > csv dataformat - Should have quoteMode option in model > ------------------------------------------------------ > > Key: CAMEL-9860 > URL: https://issues.apache.org/jira/browse/CAMEL-9860 > Project: Camel > Issue Type: Improvement > Components: camel-core, camel-csv > Affects Versions: 2.15.0 > Reporter: Claus Ibsen > Assignee: Andrea Cosentino > Priority: Minor > 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 automatic convert the string to the enum > {code} > public enum QuoteMode { > /** > * Quotes all fields. > */ > ALL, > /** > * Quotes fields which contain special characters such as a delimiter, quote character or any of the characters in > * line separator. > */ > MINIMAL, > /** > * Quotes all non-numeric fields. > */ > NON_NUMERIC, > /** > * 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. > */ > NONE > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)