|
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(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(OutputStream... streams)
streams - any number of output streams.| Method Detail |
|---|
public void close()
throws IOException
close in interface Closeableclose in class OutputStreamIOException
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOException
public void write(int b)
throws IOException
write in class OutputStreamIOException
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||