Methods Summary |
---|
public void | close()Does not close the underlying socket output.
if (!this.closed) {
this.closed = true;
this.out.flush();
}
|
public void | flush()
this.out.flush();
|
public void | write(byte[] b, int off, int len)
if (this.closed) {
throw new IOException("Attempted write to closed stream.");
}
this.out.write(b, off, len);
|
public void | write(byte[] b)
write(b, 0, b.length);
|
public void | write(int b)
if (this.closed) {
throw new IOException("Attempted write to closed stream.");
}
this.out.write(b);
|