|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
edu.tum.cs.commons.io.MultiplexedOutputStream
public class MultiplexedOutputStream
This class enables multiplexing of output streams. It can be e.g. used to output content to multiple files.
Constructor Summary | |
---|---|
MultiplexedOutputStream(java.io.OutputStream... streams)
Create new multiplexed output streams. |
Method Summary | |
---|---|
void |
close()
Forwards close operation to all underlying output streams. |
void |
flush()
Forwards flush operation to all underlying output streams. |
void |
write(int b)
Forwards write operation to all underlying output streams. |
Methods inherited from class java.io.OutputStream |
---|
write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiplexedOutputStream(java.io.OutputStream... streams)
streams
- any number of output streams.Method Detail |
---|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |