只是不要通过
Reader-从中读取数据
InputStream并将其写入
OutputStream。
// Using Guava (guava-libraries.googlepre.com)InputStream data = response.getEntity().getContent();try { OutputStream output = new FileOutputStream(filename); try { ByteStreams.copy(data, output); } finally { Closeables.closeQuietly(output); }} finally {}


