Uses of Interface
com.luna.common.constant.StreamProgress
-
Uses of StreamProgress in com.luna.common.io
Modifier and TypeMethodDescriptionstatic long
IoUtil.copy
(InputStream in, OutputStream out, int bufferSize, StreamProgress streamProgress) 拷贝流,拷贝后不关闭流static long
IoUtil.copy
(Reader reader, Writer writer, int bufferSize, StreamProgress streamProgress) 将Reader中的内容复制到Writer中,拷贝后不关闭Readerstatic long
NioUtil.copy
(ReadableByteChannel in, WritableByteChannel out, int bufferSize, StreamProgress streamProgress) 拷贝流,使用NIO,不会关闭channelstatic long
NioUtil.copyByNIO
(InputStream in, OutputStream out, int bufferSize, StreamProgress streamProgress) 拷贝流 thanks to: https://github.com/venusdrogon/feilong-io/blob/master/src/main/java/com/feilong/io/IOWriteUtil.java
本方法不会关闭流