Package com.e1c.g5.v8.fastzip
Interface IFzipWriter
- All Superinterfaces:
- AutoCloseable,- Closeable
- All Known Implementing Classes:
- ParallelFzipWriter
FastZIP archive writer.
 
All methods are synchronous and can be called in any order any number of times.
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetProgressListener(IProgressListener progressListener) Sets a progress listener.voidwrite(IFzipEntry[] entries) Writes entries to the archive.
- 
Method Details- 
setProgressListenerSets a progress listener. The listener is used to track progress ofwrite(IFzipEntry[])operation.- Parameters:
- progressListener- the progress listener, or- nullto remove a previously set listener
 
- 
writeWrites entries to the archive. The entries must belong to the registry of this writer. Reports the progress to a progress listener if it was set.If the operation fails the writer might end up in a closed state and no guarantees on the contents and consistency of the archive are provided. - Parameters:
- entries- the entries, cannot be- null, cannot contain- nullvalues
- Throws:
- FzipException- if the writer failed to compress the entries for any reason
- IOException- if an IO error occurs
 
 
-