Methods Summary |
---|
public void | addOutputStream(java.io.OutputStream out)
streams.add(out);
|
public void | close()
Iterator iterator = streams.iterator();
while (iterator.hasNext()) {
OutputStream out = (OutputStream) iterator.next();
out.close();
}
|
public void | flush()
Iterator iterator = streams.iterator();
while (iterator.hasNext()) {
OutputStream out = (OutputStream) iterator.next();
out.flush();
}
|
public void | write(int b)
Iterator iterator = streams.iterator();
while (iterator.hasNext()) {
OutputStream out = (OutputStream) iterator.next();
out.write(b);
}
|
public void | write(byte[] data, int offset, int length)
Iterator iterator = streams.iterator();
while (iterator.hasNext()) {
OutputStream out = (OutputStream) iterator.next();
out.write(data, offset, length);
}
|