sam.io
Class Mixer.OutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--sam.io.Mixer.OutputStream
- Enclosing class:
- Mixer
- public class Mixer.OutputStream
- extends java.io.OutputStream
Inner-class for transparently mixing a stream
The trace is stored back in the outer Mixer
instance
once the close()
method is called
Method Summary |
void |
close()
|
void |
flush()
|
protected void |
mix()
|
void |
write(byte[] data,
int begin,
int length)
|
void |
write(int b)
|
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 |
Mixer.OutputStream
public Mixer.OutputStream(java.io.OutputStream delegee)
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
java.io.IOException
write
public void write(byte[] data,
int begin,
int length)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Overrides:
flush
in class java.io.OutputStream
java.io.IOException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.OutputStream
java.io.IOException
mix
protected void mix()
throws java.io.IOException
java.io.IOException