| 构造器和说明 |
|---|
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[] bytes,
int off,
int len)
throws IOException
IOExceptionpublic void flush()
throws IOException
flush 在接口中 FlushableIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2018. All rights reserved.