예제 #1
0
 public ZipUpdate(string fileName, string entryName, CompressionMethod compressionMethod)
 {
     this.sizePatchOffset_ = -1L;
     this.crcPatchOffset_ = -1L;
     this._offsetBasedSize = -1L;
     this.command_ = ZipFile.UpdateCommand.Add;
     this.entry_ = new ZipEntry(entryName);
     this.entry_.CompressionMethod = compressionMethod;
     this.filename_ = fileName;
 }
예제 #2
0
 public ZipUpdate(IStaticDataSource dataSource, string entryName, CompressionMethod compressionMethod)
 {
     this.sizePatchOffset_ = -1L;
     this.crcPatchOffset_ = -1L;
     this._offsetBasedSize = -1L;
     this.command_ = ZipFile.UpdateCommand.Add;
     this.entry_ = new ZipEntry(entryName);
     this.entry_.CompressionMethod = compressionMethod;
     this.dataSource_ = dataSource;
 }
예제 #3
0
 public ZipUpdate(ZipFile.UpdateCommand command, ZipEntry entry)
 {
     this.sizePatchOffset_ = -1L;
     this.crcPatchOffset_ = -1L;
     this._offsetBasedSize = -1L;
     this.command_ = command;
     this.entry_ = (ZipEntry) entry.Clone();
 }
예제 #4
0
 public ZipUpdate(string fileName, ZipEntry entry)
 {
     this.sizePatchOffset_ = -1L;
     this.crcPatchOffset_ = -1L;
     this._offsetBasedSize = -1L;
     this.command_ = ZipFile.UpdateCommand.Add;
     this.entry_ = entry;
     this.filename_ = fileName;
 }
예제 #5
0
 public ZipUpdate(IStaticDataSource dataSource, ZipEntry entry)
 {
     this.sizePatchOffset_ = -1L;
     this.crcPatchOffset_ = -1L;
     this._offsetBasedSize = -1L;
     this.command_ = ZipFile.UpdateCommand.Add;
     this.entry_ = entry;
     this.dataSource_ = dataSource;
 }