| Package | Description |
|---|---|
| org.aoju.bus.core.io.copier |
IO流拷贝相关封装相关封装
|
| org.aoju.bus.core.toolkit |
工具包,提供各种工具方法,按照归类入口为XXXKit,如数组工具ArrayKit等
|
| Modifier and Type | Field and Description |
|---|---|
protected StreamProgress |
IoCopier.progress
进度条
|
| Constructor and Description |
|---|
ChannelCopier(int bufferSize,
long count,
StreamProgress progress)
构造
|
IoCopier(int bufferSize,
long count,
StreamProgress progress)
构造
|
ReaderWriterCopier(int bufferSize,
long count,
StreamProgress progress)
构造
|
StreamCopier(int bufferSize,
long count,
StreamProgress progress)
构造
|
| Modifier and Type | Method and Description |
|---|---|
static long |
IoKit.copy(InputStream in,
OutputStream out,
int bufferSize,
int count,
StreamProgress streamProgress)
拷贝流,拷贝后不关闭流
|
static long |
IoKit.copy(InputStream in,
OutputStream out,
int bufferSize,
long count,
StreamProgress streamProgress)
拷贝流,本方法不会关闭流
|
static long |
IoKit.copy(InputStream in,
OutputStream out,
int bufferSize,
StreamProgress streamProgress)
拷贝流
|
static long |
IoKit.copy(ReadableByteChannel in,
WritableByteChannel out,
int bufferSize,
long count,
StreamProgress streamProgress)
拷贝流,使用NIO,不会关闭channel
|
static long |
IoKit.copy(ReadableByteChannel in,
WritableByteChannel out,
int bufferSize,
StreamProgress streamProgress)
拷贝流,使用NIO,不会关闭channel
|
static long |
IoKit.copy(Reader reader,
Writer writer,
int bufferSize,
long count,
StreamProgress streamProgress)
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
|
static long |
IoKit.copy(Reader reader,
Writer writer,
int bufferSize,
StreamProgress streamProgress)
将Reader中的内容复制到Writer中,拷贝后不关闭Reader
|
Copyright © 2022. All rights reserved.