| 程序包 | 说明 |
|---|---|
| com.xiaoleilu.hutool.http | |
| com.xiaoleilu.hutool.io |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
HttpUtil.downloadFile(String url,
File destFile,
StreamProgress streamProgress)
下载远程文件
|
| 限定符和类型 | 方法和说明 |
|---|---|
static 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中
|
Copyright © 2016. All rights reserved.