/**
* 功能说明:处理地址,并返回根目录地址
* @param path 预处理的地址
* @return String
*/
public String processPath(String path){
//得到截取后的字符串
Pattern pattern=Pattern.compile("out/[^/]+/");
Matcher c=pattern.matcher(path);
boolean bool=c.find();
String strPath=bool?c.group(0):"";
return strPath;
}