public interface FetcherMgr
| Modifier and Type | Method and Description |
|---|---|
String |
downloadFileFromServer(String url,
String fileName,
String targetDirPath)
下载配置文件, remoteUrl是目标 url, 下载到预定义的文件夹,并 下载到 targetDirPath 目录下
|
String |
getValueFromServer(String url)
根据 URL 从远程 获取Value值
|
void |
release()
释放资源
|
String getValueFromServer(String url) throws Exception
ExceptionString downloadFileFromServer(String url, String fileName, String targetDirPath) throws Exception
Exceptionvoid release()
Copyright © 2015–2016 Baidu. All rights reserved.