Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2004

File.withPrintWriter(String charset, Closure closure) is missing in GDK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1-beta-3
    • groovy-jdk
    • None
    • Any
    • Patch

    Description

      We have the following methods in DGM on File objects:

      newPrintWriter(File file, Closure closure)
      newPrintWriter(File file, String charset, Closure closure)

      withWriter(File file, Closure closure)
      withWriter(File file, String charset, Closure closure)

      withPrintWriter(File file, Closure closure)

      We have no

      withPrintWriter(File file, String charset, Closure closure)

      Attached patch implements this in DGM.

      Attachments

        1. patch.txt
          1 kB
          codex22

        Activity

          People

            blackdrag Jochen Theodorou
            codex22 codex22
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: