Methods Summary |
---|
public synchronized void | addOutputStream(java.io.OutputStream out)
streams.addElement(out);
|
public synchronized void | close()
for (Enumeration e = streams.elements(); e.hasMoreElements();) {
OutputStream out = (OutputStream) e.nextElement();
out.close();
}
|
public synchronized void | flush()
for (Enumeration e = streams.elements(); e.hasMoreElements();) {
OutputStream out = (OutputStream) e.nextElement();
out.flush();
}
|
public synchronized void | write(int b)
for (Enumeration e = streams.elements(); e.hasMoreElements();) {
OutputStream out = (OutputStream) e.nextElement();
out.write(b);
}
|
public synchronized void | write(byte[] data, int offset, int length)
for (Enumeration e = streams.elements(); e.hasMoreElements();) {
OutputStream out = (OutputStream) e.nextElement();
out.write(data, offset, length);
}
|