Closeable, Flushable, Appendable, AutoCloseablepublic class GroovyPrintWriter extends PrintWriter
out| Constructor | Description |
|---|---|
GroovyPrintWriter(File file) |
|
GroovyPrintWriter(File file,
String csn) |
|
GroovyPrintWriter(OutputStream out) |
|
GroovyPrintWriter(OutputStream out,
boolean autoflush) |
|
GroovyPrintWriter(Writer out) |
|
GroovyPrintWriter(Writer out,
boolean autoflush) |
|
GroovyPrintWriter(String filename) |
|
GroovyPrintWriter(String filename,
String csn) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
print(Object x) |
|
void |
println(Object x) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, 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, write, write, write, writepublic GroovyPrintWriter(File file) throws FileNotFoundException
FileNotFoundExceptionpublic GroovyPrintWriter(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException
public GroovyPrintWriter(Writer out)
public GroovyPrintWriter(Writer out, boolean autoflush)
public GroovyPrintWriter(OutputStream out)
public GroovyPrintWriter(OutputStream out, boolean autoflush)
public GroovyPrintWriter(String filename) throws FileNotFoundException
FileNotFoundExceptionpublic GroovyPrintWriter(String filename, String csn) throws FileNotFoundException, UnsupportedEncodingException
public void print(Object x)
print in class PrintWriterpublic void println(Object x)
println in class PrintWriter