public static boolean download(String uri,String baseFilePath,String singer,String saveFileName) throws IOException{
    	HttpGet httpGet = new HttpGet(uri);
    	CloseableHttpResponse httpResponse = null;
		try {
			httpResponse = httpClient.execute(httpGet);
	        try {
				HttpEntity httpEntity = httpResponse.getEntity();
				if(httpEntity != null){
					BufferedInputStream bis = new BufferedInputStream(
							httpEntity.getContent());
					
					Header header = httpEntity.getContentType();
					byte [] gif = IOUtils.toByteArray(bis);
				 	FileUtils.writeByteArrayToFile(new File(baseFilePath+File.separator +singer,saveFileName),gif);
				 	IOUtils.closeQuietly(bis);
					return true;
				}
			} catch (ParseException e) {
				e.printStackTrace();
			} finally{
				if (httpResponse != null) {
				    // 关闭连接
					httpResponse.close();
				}
			}
		} catch (Exception e) {
			e.printStackTrace();
		} finally {
			if(httpGet!=null){
				httpGet.releaseConnection();
			}
		}
        return false;
    }