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 |
println, println, println, println, println, println, println, println, println, println, append, append, append, append, append, append, append, append, append, flush, format, format, printf, printf, write, write, write, write, write, print, print, print, print, print, print, print, print, print, close, checkError, nullWriter, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.