mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-26 16:28:49 +00:00
fix url display error...
This commit is contained in:
parent
c75864ad9e
commit
9208750792
@ -63,7 +63,7 @@ public class DownloadManager {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
sender.sendMessage("§6开始下载: §3" + getFileName(url));
|
sender.sendMessage("§6开始下载: §3" + getFileName(url));
|
||||||
sender.sendMessage("§6下载地址: §3" + url.getPath());
|
sender.sendMessage("§6下载地址: §3" + url.toString());
|
||||||
int fileLength = url.openConnection().getContentLength();
|
int fileLength = url.openConnection().getContentLength();
|
||||||
sender.sendMessage("§6文件长度: §3" + fileLength);
|
sender.sendMessage("§6文件长度: §3" + fileLength);
|
||||||
in = new BufferedInputStream(url.openStream());
|
in = new BufferedInputStream(url.openStream());
|
||||||
|
Loading…
Reference in New Issue
Block a user