com.esri.arcgis.system
Interface IZipArchive

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IZipArchiveEx
All Known Implementing Classes:
IZipArchiveExProxy, IZipArchiveProxy, ZipArchive

public interface IZipArchive
extends java.io.Serializable

COM Interface 'IZipArchive'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to methods and properties to create and manage zip archives.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID55df03ae_b4f8_4387_b8b5_6fb22b15ddac
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addFile(java.lang.String inputFile)
          Compresses a file and adds it to the archive.
 void closeArchive()
          Closes the archive.
 void createArchive(java.lang.String archiveName)
          Creates a new archive.
 void extract(java.lang.String outputDir)
          Extracts all items in the archive to the output directory.
 void extractFile(java.lang.String file, java.lang.String outputDir)
          Extracts a file from the archive to the output directory.
 IEnumBSTR getFileNames()
          Obtains the list of files in the archive.
 void openArchive(java.lang.String archiveName)
          Opens an existing archive.
 

Field Detail

IID55df03ae_b4f8_4387_b8b5_6fb22b15ddac

static final int IID55df03ae_b4f8_4387_b8b5_6fb22b15ddac
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

openArchive

void openArchive(java.lang.String archiveName)
                 throws java.io.IOException,
                        AutomationException
Opens an existing archive.

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

createArchive

void createArchive(java.lang.String archiveName)
                   throws java.io.IOException,
                          AutomationException
Creates a new archive.

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

closeArchive

void closeArchive()
                  throws java.io.IOException,
                         AutomationException
Closes the archive.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFile

void addFile(java.lang.String inputFile)
             throws java.io.IOException,
                    AutomationException
Compresses a file and adds it to the archive.

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

getFileNames

IEnumBSTR getFileNames()
                       throws java.io.IOException,
                              AutomationException
Obtains the list of files in the archive.

Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extractFile

void extractFile(java.lang.String file,
                 java.lang.String outputDir)
                 throws java.io.IOException,
                        AutomationException
Extracts a file from the archive to the output directory.

Parameters:
file - The file (in)
outputDir - The outputDir (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

extract

void extract(java.lang.String outputDir)
             throws java.io.IOException,
                    AutomationException
Extracts all items in the archive to the output directory.

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