248249250251252253254255256257258
} exist = true; zipOut.putNextEntry(new ZipEntry(input.getName())); NioUtils.copy(stream, zipOut);// 输出到压缩流中 zipOut.closeEntry(); } finally { IOUtils.closeQuietly(stream); } }