com.esri.arcgis.carto
Interface IMapCacheExporter

All Superinterfaces:
Serializable

public interface IMapCacheExporter
extends Serializable

Provides access to methods that convert cache format.

Product Availability

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


Method Summary
 void esri_import(ILongArray pLevels, IGeometry pGeometry, int numThreads, ITrackCancel pTrackCancel, boolean overwrite)
          Import cache.
 void export(ILongArray pLevels, IGeometry pGeometry, int numThreads, ITrackCancel pTrackCancel, ICacheStorageInfo pCacheStorageInfo, boolean overwrite)
          Export cache.
 String getDataframe()
          Dataframe name.
 String getHost()
          Server machine name.
 String getService()
          Service name.
 String getTargetCachePath()
          The cache location.
 void setDataframe(String pDataframe)
          Dataframe name.
 void setHost(String pHost)
          Server machine name.
 void setService(String pService)
          Service name.
 void setTargetCachePath(String ppCacheLocation)
          The cache location.
 

Method Detail

getHost

String getHost()
               throws IOException,
                      AutomationException
Server machine name.

Product Availability

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

Returns:
The pHost
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHost

void setHost(String pHost)
             throws IOException,
                    AutomationException
Server machine name.

Product Availability

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

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

getService

String getService()
                  throws IOException,
                         AutomationException
Service name.

Product Availability

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

Returns:
The pService
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setService

void setService(String pService)
                throws IOException,
                       AutomationException
Service name.

Product Availability

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

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

getDataframe

String getDataframe()
                    throws IOException,
                           AutomationException
Dataframe name.

Product Availability

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

Returns:
The pDataframe
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataframe

void setDataframe(String pDataframe)
                  throws IOException,
                         AutomationException
Dataframe name.

Product Availability

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

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

getTargetCachePath

String getTargetCachePath()
                          throws IOException,
                                 AutomationException
The cache location.

Product Availability

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

Returns:
The ppCacheLocation
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTargetCachePath

void setTargetCachePath(String ppCacheLocation)
                        throws IOException,
                               AutomationException
The cache location.

Product Availability

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

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

esri_import

void esri_import(ILongArray pLevels,
                 IGeometry pGeometry,
                 int numThreads,
                 ITrackCancel pTrackCancel,
                 boolean overwrite)
                 throws IOException,
                        AutomationException
Import cache.

Product Availability

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

Parameters:
pLevels - A reference to a com.esri.arcgis.system.ILongArray (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
numThreads - The numThreads (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
overwrite - The overwrite (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

export

void export(ILongArray pLevels,
            IGeometry pGeometry,
            int numThreads,
            ITrackCancel pTrackCancel,
            ICacheStorageInfo pCacheStorageInfo,
            boolean overwrite)
            throws IOException,
                   AutomationException
Export cache.

Product Availability

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

Parameters:
pLevels - A reference to a com.esri.arcgis.system.ILongArray (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
numThreads - The numThreads (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pCacheStorageInfo - A reference to a com.esri.arcgis.carto.ICacheStorageInfo (in)
overwrite - The overwrite (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.