org.eclipse.net4j.util.io
Class AsyncWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PipedWriter
          extended by org.eclipse.net4j.util.io.AsyncWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public abstract class AsyncWriter
extends PipedWriter

Since:
3.1

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
AsyncWriter()
           
 
Method Summary
protected abstract  void asyncWrite(Reader in)
           
 void close()
           
 
Methods inherited from class java.io.PipedWriter
connect, flush, write, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncWriter

public AsyncWriter()
            throws IOException
Throws:
IOException
Method Detail

close

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

asyncWrite

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


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