net.sf.sevenzipjbinding
Interface IOutUpdateArchive7z

All Superinterfaces:
IOutArchiveBase, IOutFeatureSetEncryptHeader, IOutFeatureSetLevel, IOutFeatureSetMultithreading, IOutFeatureSetSolid, IOutUpdateArchive<IOutItem7z>
All Known Implementing Classes:
OutArchive7zImpl

public interface IOutUpdateArchive7z
extends IOutUpdateArchive<IOutItem7z>, IOutFeatureSetLevel, IOutFeatureSetSolid, IOutFeatureSetMultithreading, IOutFeatureSetEncryptHeader

The interface provides functionality to update existing 7z 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 IOutUpdateArchive7z) {
    IOutUpdateArchive7z outUpdateArchive7z = (IOutUpdateArchive7z)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
 
Methods inherited from interface net.sf.sevenzipjbinding.IOutFeatureSetSolid
setSolid, setSolidExtension, setSolidFiles, setSolidSize
 
Methods inherited from interface net.sf.sevenzipjbinding.IOutFeatureSetMultithreading
setThreadCount
 
Methods inherited from interface net.sf.sevenzipjbinding.IOutFeatureSetEncryptHeader
setHeaderEncryption