如何使用 Java 在 Zip 文件中读取和写入注释?
我可以用这个写评论:
FileOutputStream fos = new FileOutputStream(output);
ZipOutputStream zos = new ZipOutputStream(fos);
zos.setComment("BMC Comment");
最佳答案
尝试:
java.util.zip.ZipFile.getComment()
关于java - 如何从 Zip 文件中读取注释?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9918910/