net.sf.sevenzipjbinding
Interface IOutUpdateArchiveGZip

All Superinterfaces:
IOutArchiveBase, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemGZip>
All Known Implementing Classes:
OutArchiveGZipImpl

public interface IOutUpdateArchiveGZip
extends IOutUpdateArchive<IOutItemGZip>, IOutFeatureSetLevel

The interface provides functionality to update existing GZip archives.
The standard way of getting the implementation of this interface is to use IInArchive.getConnectedOutArchive() method like this:

  IInArchive inArchive = SevenZip.openInArchive(null, inStream);
  IOutUpdateArchive<IOutItemBase> outArchive = inArchive.openOutArchive();
  
  if (outArchive instanceof IOutUpdateArchiveGZip) {
    IOutUpdateArchiveGZip outUpdateArchiveGZip = (IOutUpdateArchiveGZip)outArchive;
    ...
  }
  
  outArchive.updateItems(...);
  
  ...
  
  inArchive.close();
 

Since:
9.20-2.00
Author:
Boris Brodski
See Also:
IOutUpdateArchive, IInArchive, IOutItemBase, IOutItemAllFormats

Method Summary
 
Methods inherited from interface net.sf.sevenzipjbinding.IOutUpdateArchive
getArchiveFormat, getConnectedInArchive, updateItems
 
Methods inherited from interface net.sf.sevenzipjbinding.IOutArchiveBase
getTracePrintStream, isTrace, setTrace, setTracePrintStream
 
Methods inherited from interface net.sf.sevenzipjbinding.IOutFeatureSetLevel
setLevel