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.
|
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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
b
- off
- len
- java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- java.io.IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.