org.jboss.errai.bus.server.io
Class OutputStreamWriteAdapter
java.lang.Object
org.jboss.errai.bus.server.io.AbstractByteWriteAdapter
org.jboss.errai.bus.server.io.OutputStreamWriteAdapter
- All Implemented Interfaces:
- ByteWriteAdapter
public class OutputStreamWriteAdapter
- extends AbstractByteWriteAdapter
A simple wrapper implementation of ByteWriteAdapter
which forwards all writes to the
OutputStream
specified when creating the adapter.
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStreamWriteAdapter
public OutputStreamWriteAdapter(OutputStream outputStream)
write
public void write(byte b)
throws IOException
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.