org.codehaus.groovy.runtime
Class FlushingStreamWriter
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
org.codehaus.groovy.runtime.FlushingStreamWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class FlushingStreamWriter
- extends OutputStreamWriter
Stream writer which flushes after each write operation.
- Author:
- Guillaume Laforge
Method Summary |
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(String str,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlushingStreamWriter
public FlushingStreamWriter(OutputStream out)
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
write
in class OutputStreamWriter
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class OutputStreamWriter
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class OutputStreamWriter
- Throws:
IOException