com.esri.arcgis.carto
Interface IImageServerDownloadResult

All Superinterfaces:
Serializable
All Known Implementing Classes:
ImageServerDownloadResult

public interface IImageServerDownloadResult
extends Serializable

Provides access to the Image Server Download Result Interface.

Remarks

The Download request returns an ImageServerDownloadResults object, which contains multiple ImageServerDownloadResult objects, each specifies one downloadable file. One file can be a part of multiple logical rasters. The list of raster IDs gives the parent rasters to which this file belong.

Product Availability

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


Method Summary
 long getFileSize()
          The download file size in bytes.
 ILongArray getRasterIDs()
          The list of raster IDs.
 String getURI()
          The download file name.
 void setFileSize(long pSize)
          The download file size in bytes.
 void setRasterIDsByRef(ILongArray ppOIDs)
          The list of raster IDs.
 void setURI(String pURI)
          The download file name.
 

Method Detail

getRasterIDs

ILongArray getRasterIDs()
                        throws IOException,
                               AutomationException
The list of raster IDs.

Product Availability

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

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

setRasterIDsByRef

void setRasterIDsByRef(ILongArray ppOIDs)
                       throws IOException,
                              AutomationException
The list of raster IDs.

Product Availability

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

Parameters:
ppOIDs - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURI

String getURI()
              throws IOException,
                     AutomationException
The download file name.

Remarks

To get a downloadable url, use the GetFile method of IImageServer3.

Product Availability

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

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

setURI

void setURI(String pURI)
            throws IOException,
                   AutomationException
The download file name.

Product Availability

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

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

getFileSize

long getFileSize()
                 throws IOException,
                        AutomationException
The download file size in bytes.

Product Availability

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

Returns:
Unsigned 64-bit int
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFileSize

void setFileSize(long pSize)
                 throws IOException,
                        AutomationException
The download file size in bytes.

Product Availability

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

Parameters:
pSize - Unsigned 64-bit int (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.