org.restlet.engine.io
Class TraceOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.restlet.engine.io.TraceOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class TraceOutputStream
- extends FilterOutputStream
Filter output stream that sends a copy of all data on the standard console.
- Author:
- Jerome Louvel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceOutputStream
public TraceOutputStream(OutputStream out)
- Constructor.
- Parameters:
out
- The output stream to wrap.
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class FilterOutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
Copyright © 2005-2011 Noelios Technologies.