public class SocketChannelOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
SocketChannelOutputStream(java.nio.channels.SocketChannel channel,
int bufferSize)
Constructor.
|
public SocketChannelOutputStream(java.nio.channels.SocketChannel channel,
int bufferSize)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic 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 flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] buf,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] buf)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void destroy()
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.