sisc.io
Class AutoflushOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by sisc.io.AutoflushOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

Deprecated. Use buffered ports instead.

public class AutoflushOutputStream
extends java.io.FilterOutputStream

A legacy support class which creates ports which flush immediately after each I/O operation.

Author:
scgmille

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
AutoflushOutputStream(java.io.OutputStream out)
          Deprecated.  
 
Method Summary
 void write(byte[] b)
          Deprecated.  
 void write(byte[] b, int offset, int length)
          Deprecated.  
 void write(int b)
          Deprecated.  
 
Methods inherited from class java.io.FilterOutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoflushOutputStream

public AutoflushOutputStream(java.io.OutputStream out)
Deprecated. 
Method Detail

write

public void write(byte[] b)
           throws java.io.IOException
Deprecated. 
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int offset,
                  int length)
           throws java.io.IOException
Deprecated. 
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Deprecated. 
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException