com.esri.arcgis.system
Interface IZipArchiveEx

All Superinterfaces:
IZipArchive, Serializable

public interface IZipArchiveEx
extends IZipArchive, Serializable

Provides access to methods and properties to create and manage 7-zip archives.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void addFileEx(String inputFile, String rootFolder)
          Compresses a file and adds it to the archive preserving the sub-folder off the root folder.
 void addFolder(String inputFolder, boolean recursive)
          Compress a folder and add it to the archive.
 
Methods inherited from interface com.esri.arcgis.system.IZipArchive
addFile, closeArchive, createArchive, extract, extractFile, getFileNames, openArchive
 

Method Detail

addFileEx

void addFileEx(String inputFile,
               String rootFolder)
               throws IOException,
                      AutomationException
Compresses a file and adds it to the archive preserving the sub-folder off the root folder.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
inputFile - The inputFile (in)
rootFolder - The rootFolder (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFolder

void addFolder(String inputFolder,
               boolean recursive)
               throws IOException,
                      AutomationException
Compress a folder and add it to the archive.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
inputFolder - The inputFolder (in)
recursive - The recursive (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.