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