public class GroovyPrintWriter extends PrintWriter
A PrintWriter that outputs objects in Groovy style. That means print(Object) uses InvokerHelper.toString(Object) to produce the same results as Writer.print(Object).
Constructor and description |
---|
GroovyPrintWriter(File file) |
GroovyPrintWriter(File file, String csn) |
GroovyPrintWriter(Writer out) |
GroovyPrintWriter(Writer out, boolean autoflush) |
GroovyPrintWriter(OutputStream out) |
GroovyPrintWriter(OutputStream out, boolean autoflush) |
GroovyPrintWriter(String filename) |
GroovyPrintWriter(String filename, String csn) |
Methods inherited from class | Name |
---|---|
class PrintWriter |
append, append, append, append, append, append, append, append, append, checkError, close, equals, flush, format, format, getClass, hashCode, notify, notifyAll, nullWriter, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, toString, wait, wait, wait, write, write, write, write, write |
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.