Package com.atlassian.confluence.util
Class ZipUtility
java.lang.Object
com.atlassian.confluence.util.ZipUtility
Copied from Fisheye com.cenqua.fisheye.util.Zipper
 User: pkamal
 Date: Oct 16, 2009
 Time: 1:46:08 PM
 To change this template use File | Settings | File Templates.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceCallback that allows to transform/exchange the file to be added to the zip file.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a file with a corresponding path to use in the actual zip archive.voidzip(OutputStream destination) Zip the files to the given destination.
- 
Constructor Details- 
ZipUtilitypublic ZipUtility()
- 
ZipUtility
 
- 
- 
Method Details- 
addAdds a file with a corresponding path to use in the actual zip archive.- Parameters:
- pathInZip-
- file-
 
- 
zipZip the files to the given destination.- Parameters:
- destination- the place to zip the files to
- Throws:
- IOException
 
 
-