| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | GroovyPrintStream(String fileName)
Creates a new print stream, without automatic line flushing, with the specified file name. |
| public | GroovyPrintStream(String fileName, String csn)
Creates a new print stream, without automatic line flushing, with the specified file name and charset. |
| public | GroovyPrintStream(File file)
Creates a new print stream, without automatic line flushing, with the specified file. |
| public | GroovyPrintStream(File file, String csn)
Creates a new print stream, without automatic line flushing, with the specified file and charset. |
| Modifier and Type | Method and Description |
|---|---|
| public void | print(Object
The obj)Object to be printedOverrides java. |
| public void | println(Object
The obj)Object to be printedOverrides java. |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(OutputStream out) Creates a new print stream. This stream will not flush automatically. | |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(OutputStream out, boolean autoFlush) Creates a new print stream. | |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(OutputStream out, boolean autoFlush, String encoding) throws UnsupportedEncodingException Creates a new print stream. | |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(String fileName) throws FileNotFoundException Creates a new print stream, without automatic line flushing, with the specified file name. | |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException Creates a new print stream, without automatic line flushing, with the specified file name and charset. | |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(File file) throws FileNotFoundException Creates a new print stream, without automatic line flushing, with the specified file. | |
| GroovyPrintStream | back to summary |
|---|---|
| public GroovyPrintStream(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException Creates a new print stream, without automatic line flushing, with the specified file and charset. | |
| back to summary | |
|---|---|
| public void print(Object obj) Overrides java. Prints an object Groovy style.
| |
| println | back to summary |
|---|---|
| public void println(Object obj) Overrides java. Prints an object Groovy style followed by a newline.
| |