public void goDownLoad() throws IOException, URISyntaxException{
// String urlPath ="http://b.hiphotos.baidu.com/pic/w%3D230/sign=1bb6c5bd8ad4b31cf03c93b8b7d7276f/21a4462309f79052c97999c00df3d7ca7acbd5ee.jpg";
URL _URL=new URL(urlPath);
HttpURLConnection con=(HttpURLConnection) _URL.openConnection();
InputStream fis= new BufferedInputStream(con.getInputStream());
//获取文件名
String trueurl=con.getURL().toString();
String filename=trueurl.substring(trueurl.lastIndexOf('/')+1);
// String urlPath ="http://b.hiphotos.baidu.com/pic/w%3D230/sign=1bb6c5bd8ad4b31cf03c93b8b7d7276f/21a4462309f79052c97999c00df3d7ca7acbd5ee.jpg";
URL _URL=new URL(urlPath);
HttpURLConnection con=(HttpURLConnection) _URL.openConnection();
InputStream fis= new BufferedInputStream(con.getInputStream());
//获取文件名
String trueurl=con.getURL().toString();
String filename=trueurl.substring(trueurl.lastIndexOf('/')+1);