Package org.codehaus.groovy.runtime
Class FlushingStreamWriter
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
org.codehaus.groovy.runtime.FlushingStreamWriter
- All Implemented Interfaces:
- java.io.Closeable,- java.io.Flushable,- java.lang.Appendable,- java.lang.AutoCloseable
public class FlushingStreamWriter
extends java.io.OutputStreamWriter
Stream writer which flushes after each write operation.
- 
Field SummaryFields inherited from class java.io.Writerlock
- 
Constructor SummaryConstructors Constructor Description FlushingStreamWriter(java.io.OutputStream out)
- 
Method SummaryMethods inherited from class java.io.OutputStreamWriterappend, append, close, flush, getEncodingMethods inherited from class java.io.Writerappend, nullWriter, write, writeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
FlushingStreamWriterpublic FlushingStreamWriter(java.io.OutputStream out)
 
- 
- 
Method Details- 
writepublic void write(char[] cbuf, int off, int len) throws java.io.IOException- Overrides:
- writein class- java.io.OutputStreamWriter
- Throws:
- java.io.IOException
 
- 
writepublic void write(int c) throws java.io.IOException- Overrides:
- writein class- java.io.OutputStreamWriter
- Throws:
- java.io.IOException
 
- 
writepublic void write(java.lang.String str, int off, int len) throws java.io.IOException- Overrides:
- writein class- java.io.OutputStreamWriter
- Throws:
- java.io.IOException
 
 
-