public class ChannelOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
ChannelOutputStream(Channel channel)
Creates a new ChannelOutputStream object.
|
ChannelOutputStream(Channel channel,
java.lang.Integer type)
Creates a new ChannelOutputStream object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public ChannelOutputStream(Channel channel, java.lang.Integer type)
channel - type - public ChannelOutputStream(Channel channel)
channel - public boolean isClosed()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamb - off - len - java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - java.io.IOExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.