public interface IZipArchive
extends java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID55df03ae_b4f8_4387_b8b5_6fb22b15ddac |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final int IID55df03ae_b4f8_4387_b8b5_6fb22b15ddac
static final int xxDummy
static final java.lang.String IID
void openArchive(java.lang.String archiveName) throws java.io.IOException, AutomationException
archiveName
- The archiveName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void createArchive(java.lang.String archiveName) throws java.io.IOException, AutomationException
archiveName
- The archiveName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void closeArchive() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addFile(java.lang.String inputFile) throws java.io.IOException, AutomationException
inputFile
- The inputFile (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumBSTR getFileNames() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void extractFile(java.lang.String file, java.lang.String outputDir) throws java.io.IOException, AutomationException
file
- The file (in)outputDir
- The outputDir (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void extract(java.lang.String outputDir) throws java.io.IOException, AutomationException
outputDir
- The outputDir (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.