|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.system.ZipArchive
public class ZipArchive
COM Class 'ZipArchive'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'
Description 'The ZipArchive object which manages 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 |
|---|
| Fields inherited from interface com.esri.arcgis.system.IZipArchive |
|---|
IID, IID55df03ae_b4f8_4387_b8b5_6fb22b15ddac, xxDummy |
| Constructor Summary | |
|---|---|
ZipArchive()
Constructs a ZipArchive using ArcGIS Engine. |
|
ZipArchive(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ZipArchive theZipArchive = (ZipArchive) obj; |
|
| 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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
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. |
static java.lang.String |
getClsid()
getClsid. |
IEnumBSTR |
getFileNames()
Obtains the list of files in the archive. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
void |
openArchive(java.lang.String archiveName)
Opens an existing archive. |
void |
release()
Release a ZipArchive. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZipArchive()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ZipArchive(java.lang.Object obj)
throws java.io.IOException
ZipArchive theZipArchive = (ZipArchive) obj;
obj to ZipArchive.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void openArchive(java.lang.String archiveName)
throws java.io.IOException,
AutomationException
openArchive in interface IZipArchivearchiveName - The archiveName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void createArchive(java.lang.String archiveName)
throws java.io.IOException,
AutomationException
createArchive in interface IZipArchivearchiveName - The archiveName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void closeArchive()
throws java.io.IOException,
AutomationException
closeArchive in interface IZipArchivejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addFile(java.lang.String inputFile)
throws java.io.IOException,
AutomationException
addFile in interface IZipArchiveinputFile - The inputFile (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumBSTR getFileNames()
throws java.io.IOException,
AutomationException
getFileNames in interface IZipArchivejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void extractFile(java.lang.String file,
java.lang.String outputDir)
throws java.io.IOException,
AutomationException
extractFile in interface IZipArchivefile - The file (in)outputDir - The outputDir (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void extract(java.lang.String outputDir)
throws java.io.IOException,
AutomationException
extract in interface IZipArchiveoutputDir - The outputDir (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||