摘要: class SaveImage { //strUrl是图片的url地址;例如:http://jprice.360buyimg.com/price/gp755374-1-1-3.png //strPath是图片要存储的本地地址;例如:C:\\jingdong public SaveImage(String strUrl,String strPath) { File file = new File(strPath);// 图片保存路径 if(!file.exists()) file.mkdirs(); OutputStream os = nu... 阅读全文
posted @ 2013-01-11 16:21 AndyDHG 阅读(892) 评论(0) 推荐(0) 编辑