Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-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 87F2511BC2 for ; Mon, 2 Jun 2014 18:06:03 +0000 (UTC) Received: (qmail 39055 invoked by uid 500); 2 Jun 2014 18:06:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 38938 invoked by uid 500); 2 Jun 2014 18:06:02 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 38872 invoked by uid 99); 2 Jun 2014 18:06:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2014 18:06:02 +0000 Date: Mon, 2 Jun 2014 18:06:02 +0000 (UTC) From: "Gary Gregory (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CSV-119) CSVFormat is missing a print(...) method 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/CSV-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015666#comment-14015666 ] Gary Gregory commented on CSV-119: ---------------------------------- Thank you for the suggestion. Feel free to submit patches as well! ;-) > CSVFormat is missing a print(...) method > ---------------------------------------- > > Key: CSV-119 > URL: https://issues.apache.org/jira/browse/CSV-119 > Project: Commons CSV > Issue Type: Wish > Reporter: Sergei Lebedev > Priority: Minor > Fix For: 1.0 > > > The API of CSVFormat is currently asymmetric: it [has|http://commons.apache.org/proper/commons-csv/apidocs/index.html] a shortcut method for creating a CSVParser from a format, but there's not such method for a CSVPrinter. > What I'd like is the following: > {code:java} > CSVPrinter printer = CSVFormat.TDF.print(writer); > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)