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).
| Constructor and description |
|---|
GroovyPrintStream
(OutputStream out)Creates a new print stream. |
GroovyPrintStream
(OutputStream out, boolean autoFlush)Creates a new print stream. |
GroovyPrintStream
(OutputStream out, boolean autoFlush, String encoding)Creates a new print stream. |
GroovyPrintStream
(String fileName)Creates a new print stream, without automatic line flushing, with the specified file name. |
GroovyPrintStream
(String fileName, String csn)Creates a new print stream, without automatic line flushing, with the specified file name and charset. |
GroovyPrintStream
(File file)Creates a new print stream, without automatic line flushing, with the specified file. |
GroovyPrintStream
(File file, String csn)Creates a new print stream, without automatic line flushing, with the specified file and charset. |
| Methods inherited from class | Name |
|---|---|
class PrintStream |
append, append, append, append, append, append, charset, checkError, close, equals, flush, format, format, getClass, hashCode, notify, notifyAll, nullOutputStream, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, toString, wait, wait, wait, write, write, write, writeBytes |
class FilterOutputStream |
close, equals, flush, getClass, hashCode, notify, notifyAll, nullOutputStream, toString, wait, wait, wait, write, write, write |
Creates a new print stream. This stream will not flush automatically.
Creates a new print stream.
Creates a new print stream.
Creates a new print stream, without automatic line flushing, with the specified file name.
Creates a new print stream, without automatic line flushing, with the specified file name and charset.
Creates a new print stream, without automatic line flushing, with the specified file.
Creates a new print stream, without automatic line flushing, with the specified file and charset.
Copyright © 2003-2019 The Apache Software Foundation. All rights reserved.