Interface IOutUpdateArchiveTar

All Superinterfaces:
IOutArchiveBase, IOutUpdateArchive<IOutItemTar>
All Known Implementing Classes:
OutArchiveTarImpl

public interface IOutUpdateArchiveTar extends IOutUpdateArchive<IOutItemTar>
The interface provides functionality to update existing Tar 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 IOutUpdateArchiveTar) {
    IOutUpdateArchiveTar outUpdateArchiveTar = (IOutUpdateArchiveTar)outArchive;
    ...
  }

  outArchive.updateItems(...);

  ...

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