net.sf.sevenzipjbinding
Interface IOutUpdateArchiveZip
- All Superinterfaces:
- IOutArchiveBase, IOutFeatureSetLevel, IOutUpdateArchive<IOutItemZip>
- All Known Implementing Classes:
- OutArchiveZipImpl
public interface IOutUpdateArchiveZip
- extends IOutUpdateArchive<IOutItemZip>, IOutFeatureSetLevel
The interface provides functionality to update existing Zip 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 IOutUpdateArchiveZip) {
IOutUpdateArchiveZip outUpdateArchiveZipz = (IOutUpdateArchiveZip)outArchive;
...
}
outArchive.updateItems(...);
...
inArchive.close();
- Since:
- 9.20-2.00
- Author:
- Boris Brodski
- See Also:
IOutUpdateArchive,
IInArchive,
IOutItemBase,
IOutItemAllFormats