Class SpringZipUtils
java.lang.Object
org.springframework.integration.zip.transformer.SpringZipUtils
Once the Spring Integration Zip support matures, we need to contribute the
 methods in this utility class back to the ZT Zip project.
- Since:
- 6.1
- Author:
- Gunnar Hillert
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]copy(InputStream in) static voidcopy(InputStream in, File file) static byte[]pack(Collection<org.zeroturnaround.zip.ZipEntrySource> entries, int compressionLevel) static voidpack(Collection<org.zeroturnaround.zip.ZipEntrySource> entries, File zip, int compressionLevel) 
- 
Constructor Details- 
SpringZipUtilspublic SpringZipUtils()
 
- 
- 
Method Details- 
packpublic static byte[] pack(Collection<org.zeroturnaround.zip.ZipEntrySource> entries, int compressionLevel) 
- 
packpublic static void pack(Collection<org.zeroturnaround.zip.ZipEntrySource> entries, File zip, int compressionLevel) 
- 
copy- Throws:
- IOException
 
- 
copy- Throws:
- IOException
 
 
-