Package groovy.io

Class GroovyPrintStream

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

    public class GroovyPrintStream
    extends PrintStream
    A PrintStream 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