public class OutputStreamWrapper extends Object
| 构造器和说明 |
|---|
OutputStreamWrapper(OutputStream outputStream,
File file,
io.netty.channel.ChannelHandlerContext ctx) |
public OutputStreamWrapper(OutputStream outputStream, File file, io.netty.channel.ChannelHandlerContext ctx)
public File getFile()
public OutputStream getRaw()
public void write(byte[] b)
throws IOException
IOExceptionpublic void write(int b)
throws IOException
IOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
IOExceptionpublic void flush()
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.