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