File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes ZIPOutputStream's putNextEntry(ZipEntry e) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "ZIPOutputStream Watch "ZIPOutputStream New topic

ZIPOutputStream's putNextEntry(ZipEntry e)

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I have question about ZIPOutputStream's public void putNextEntry(ZipEntry e). When we place a ZipEntry, the method puts this ZipEntry object in the beginning of the stream right? The one occupied beginning position prior to the method was placed behind this current one or is it deleted? The API says this method will close the old entry if it was still active, what does it mean?
I agree. Here's the link:
subject: ZIPOutputStream's putNextEntry(ZipEntry e)
It's not a secret anymore!