commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: zipFile.getEntries() not containing archive root folder?
Date Fri, 12 Aug 2011 19:09:17 GMT
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/").

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message