- Create a ZipOutputStream (ZOS) - for every file to zip repeat below steps - create a ZipEntry and pass it to ZOS.putNextEntry() - write the file contents into the ZOS using the write() methods - call ZOS.closeEntry() - close the ZOS.
-- Attila Szegedi home: http://www.szegedi.org ----- Original Message ----- From: "Mariappan Vaithianathan (CTC)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2002. március 25. 10:15 Subject: to zip a file and unzip the same > Dear all > > Is there a class which i can use to zip and unzip a file. I referred the zip > package but there was no straight forward to do it. Is there any work around > for the same. Any help would be appreciated. > > Mariappan > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
