aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ZIPOutputStream Watch "ZIPOutputStream New topic
Author

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?
Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: ZIPOutputStream's putNextEntry(ZipEntry e)