Uses of Interface
com.luna.common.constant.StreamProgress
Packages that use StreamProgress
-
Uses of StreamProgress in com.luna.common.io
Methods in com.luna.common.io with parameters of type StreamProgressModifier and TypeMethodDescriptionstatic longIoUtil.copy(InputStream in, OutputStream out, int bufferSize, StreamProgress streamProgress) 拷贝流,拷贝后不关闭流static longIoUtil.copy(Reader reader, Writer writer, int bufferSize, StreamProgress streamProgress) 将Reader中的内容复制到Writer中,拷贝后不关闭Readerstatic longNioUtil.copy(ReadableByteChannel in, WritableByteChannel out, int bufferSize, StreamProgress streamProgress) 拷贝流,使用NIO,不会关闭channelstatic longNioUtil.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
本方法不会关闭流