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