Interface IOutUpdateArchiveXz

All Superinterfaces:
IOutArchiveBase, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemXz>
All Known Implementing Classes:
OutArchiveXzImpl

public interface IOutUpdateArchiveXz extends IOutUpdateArchive<IOutItemXz>, IOutFeatureSetLevel
The interface provides functionality to update existing Xz 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<IOutItemAllFormats> outArchive = inArchive.getConnectedOutArchive();

  if (outArchive instanceof IOutUpdateArchiveXz) {
    IOutUpdateArchiveXz outUpdateArchiveXz = (IOutUpdateArchiveXz)outArchive;
    ...
  }

  outArchive.updateItems(...);

  ...

  inArchive.close();
 
Since:
23.01-2.2
Author:
Boris Brodski
See Also: