C
Claudio Barradas
hi!
i'm trying to put comments on zip files using Zip out put stream.
i've tried two ways:
1-
ZipOutputStream out = new ZipOutputStream(new
BufferedOutputStream(checksum));
out.setComment(comment);
I can write the commnent, but there is no way to read it then.
2-
ZipEntry entry = new ZipEntry("filename");
entry.setComment(comment);
i set the comment! but it is not keeped in zip file. When i try to read it
entry.getComment(); always return null!
please help me
i'm trying to put comments on zip files using Zip out put stream.
i've tried two ways:
1-
ZipOutputStream out = new ZipOutputStream(new
BufferedOutputStream(checksum));
out.setComment(comment);
I can write the commnent, but there is no way to read it then.
2-
ZipEntry entry = new ZipEntry("filename");
entry.setComment(comment);
i set the comment! but it is not keeped in zip file. When i try to read it
entry.getComment(); always return null!
please help me