ZipFilePacker class

Implements Korzh.DbUtils.IDataPacker and Korzh.DbUtils.IDataUnpacker interfaces to store the data as a ZIP archive file. Each packed entry - is one file in that archive.

public class Korzh.DbUtils.Packing.ZipFilePacker
    : IDataPacker, IDataUnpacker

Methods

Type Name Description
void FinishPacking() Finishes the packing. Flushes the data and closes the ZIP archive stream.
void FinishUnpacking() Finishes the unpacking. Does nothing in this case.
Stream OpenStreamForPacking(String entryName) Opens the stream for packing.
Stream OpenStreamForUnpacking(String entryName) Opens the stream for one entry we are going to unpack.
void StartPacking(String fileExtension) Starts the packing process.
void StartUnpacking(String fileExtension) Starts the unpacking. Opens the ZIP arhive file.