org.eclipse.net4j.util.io
Class AsyncOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.PipedOutputStream
          extended by org.eclipse.net4j.util.io.AsyncOutputStream
All Implemented Interfaces:
Closeable, Flushable

public abstract class AsyncOutputStream
extends PipedOutputStream

Since:
3.1

Constructor Summary
AsyncOutputStream()
           
 
Method Summary
protected abstract  void asyncWrite(InputStream in)
           
 void close()
           
 
Methods inherited from class java.io.PipedOutputStream
connect, flush, write, write
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncOutputStream

public AsyncOutputStream()
                  throws IOException
Throws:
IOException
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class PipedOutputStream
Throws:
IOException

asyncWrite

protected abstract void asyncWrite(InputStream in)
                            throws IOException
Throws:
IOException


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.