|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
edu.udo.cs.yale.tools.log.StreamMultiplier
public class StreamMultiplier
By using this multiplier all written content is multiplied to the given writers.
| Field Summary | |
|---|---|
private java.io.OutputStream[] |
out
The writers to write the contents to. |
| Constructor Summary | |
|---|---|
StreamMultiplier(java.io.OutputStream[] out)
Creates a new writer multiplier. |
|
| Method Summary | |
|---|---|
void |
close()
Closes all writers. |
void |
flush()
Flushes all writers. |
void |
write(int b)
Implements the abstract method of the superclass. |
| 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 |
| Field Detail |
|---|
private java.io.OutputStream[] out
| Constructor Detail |
|---|
public StreamMultiplier(java.io.OutputStream[] out)
| Method Detail |
|---|
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||