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.OutputStreamWriterStream writer which flushes after each write operation.
-
-
Constructor Summary
Constructors Constructor Description FlushingStreamWriter(java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(char[] cbuf, int off, int len)voidwrite(int c)voidwrite(java.lang.String str, int off, int len)
-
-
-
Method Detail
-
write
public void write(char[] cbuf, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStreamWriter- Throws:
java.io.IOException
-
write
public void write(int c) throws java.io.IOException- Overrides:
writein classjava.io.OutputStreamWriter- Throws:
java.io.IOException
-
write
public void write(java.lang.String str, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStreamWriter- Throws:
java.io.IOException
-
-