On 08/12/2011 10:09 PM, Stefan Bodewig wrote:
On 2011-08-12, Emmanouil Batsis (Manos) wrote:
Consider a zip archive containing the following folder and files:
rootfolder
+ file1.doc
+ file2.pdf
Shouldnt the "entries" enum bellow contain an entry for the root folder?
ZipFile zipFile = new ZipFile(tmpZipFile);
Enumeration entries = zipFile.getEntries();
If "rootfolder" is part of the archive, yes. And I'm pretty sure it
does (it will hav the name "rootfolder/").
Its something about the specific zip archive, must be. If I extract its
contents and make a new zip on my machine it works just fine. Should i
open a bug or something?
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]