Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-205

Add convenience API CSVFormat#printer() to print to System.out

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5
    • Printer
    • None

    Description

      Add convenience method CSVFormat#printer()

          /**
           * 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);
          }
      

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: