You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/12/23 05:36:58 UTC

[jira] [Closed] (CSV-205) Add convenience API CSVFormat#printer() to print to System.out

     [ https://issues.apache.org/jira/browse/CSV-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory closed CSV-205.
----------------------------
    Resolution: Fixed

In Git master.

> Add convenience API CSVFormat#printer() to print to System.out
> --------------------------------------------------------------
>
>                 Key: CSV-205
>                 URL: https://issues.apache.org/jira/browse/CSV-205
>             Project: Commons CSV
>          Issue Type: New Feature
>          Components: Printer
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 1.5
>
>
> Add convenience method CSVFormat#printer()
> {code:java}
>     /**
>      * Prints to the {@link System#out}.
>      *
>      * <p>
>      * See also {@link CSVPrinter}.
>      * </p>
>      *
>      * @return a printer to {@link System#out}.
>      * @throws IOException
>      *             thrown if the optional header cannot be printed.
>      * @since 1.5
>      */
>     public CSVPrinter printer() throws IOException {
>         return new CSVPrinter(System.out, this);
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)