All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.sevenzipjbinding.IOutUpdateArchiveBZip2 Maven / Gradle / Ivy

Go to download

7-Zip-JBinding is a free cross-platform java binding of 7-Zip free compress/decompress library (http://www.7-zip.org/, http://p7zip.sourceforge.net/)

The newest version!
package net.sf.sevenzipjbinding;

/**
 * The interface provides functionality to update existing BZip2 archives.
* The standard way of getting the implementation of this interface is to use * {@link IInArchive#getConnectedOutArchive()} method like this:
*
* *
 *  {@link IInArchive} inArchive = {@link SevenZip}.openInArchive(null, inStream);
 *  {@link IOutUpdateArchive}{@code <}{@link IOutItemBase}{@code >} outArchive = inArchive.openOutArchive();
 *
 *  if (outArchive instanceof {@link IOutUpdateArchiveBZip2}) {
 *    {@link IOutUpdateArchiveBZip2} outUpdateArchiveBZip2 = ({@link IOutUpdateArchiveBZip2})outArchive;
 *    ...
 *  }
 *
 *  outArchive.updateItems(...);
 *
 *  ...
 *
 *  inArchive.close();
 * 
* * @see IOutUpdateArchive * @see IInArchive * @see IOutItemBase * @see IOutItemAllFormats * * @author Boris Brodski * @since 9.20-2.00 */ public interface IOutUpdateArchiveBZip2 extends IOutUpdateArchive, // IOutFeatureSetLevel { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy