public class GroovyPrintStream extends PrintStream
out| Constructor and Description | 
|---|
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. 
 | 
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
print(Object obj)
Prints an object Groovy style. 
 | 
void | 
println(Object obj)
Prints an object Groovy style followed by a newline. 
 | 
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, writewritepublic GroovyPrintStream(OutputStream out)
public GroovyPrintStream(OutputStream out, boolean autoFlush)
public GroovyPrintStream(OutputStream out, boolean autoFlush, String encoding) throws UnsupportedEncodingException
public GroovyPrintStream(String fileName) throws FileNotFoundException
FileNotFoundExceptionPrintStream.PrintStream(String)public GroovyPrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException
public GroovyPrintStream(File file) throws FileNotFoundException
FileNotFoundExceptionPrintStream.PrintStream(File)public GroovyPrintStream(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException
public void print(Object obj)
print in class PrintStreamobj - The Object to be printedpublic void println(Object obj)
println in class PrintStreamobj - The Object to be printed