Interface IOutUpdateArchiveBZip2

All Superinterfaces:
IOutArchiveBase, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemBZip2>
All Known Implementing Classes:
OutArchiveBZip2Impl

public interface IOutUpdateArchiveBZip2 extends IOutUpdateArchive<IOutItemBZip2>, IOutFeatureSetLevel
The interface provides functionality to update existing BZip2 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 IOutUpdateArchiveBZip2) {
    IOutUpdateArchiveBZip2 outUpdateArchiveBZip2 = (IOutUpdateArchiveBZip2)outArchive;
    ...
  }

  outArchive.updateItems(...);

  ...

  inArchive.close();
 
Since:
9.20-2.00
Author:
Boris Brodski
See Also: