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
IOException
public void write(int b) throws IOException
IOException
public void write(byte[] bytes, int off, int len) throws IOException
IOException
public void flush() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2017. All rights reserved.