Package groovy.io

Class GroovyPrintWriter

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable

    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).
    Since:
    1.6