|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageServerDownloadResults
Provides access to the Image Server Download Results Interface.
ImageServerDownloadResults contains multiple ImageServerDownloadResult objects, and each one of them contain a downloadable file and its size in bytes.
The number of items that can be downloaded is defined in the image service configuration. One item might be corresponding to multiple files. For example a raster of a pan-sharpened image service consists of a single band raster dataset and a multiple band raster dataset, where each dataset might consist of multiple files such as an image file, a world file, and a pyramid file. The returned downloadable files can be URLs (e.g. http://, or ftp://) that are directly downloadable from a remote server. They can also be files that are known only to the image service. In this case, GetFile() should be used to prepare the file for download and get a public URL.
Downloading formats of folder structure, for example ESRI GRID, is not supported.
Method Summary | |
---|---|
void |
add(IImageServerDownloadResult pDownloadResult)
Adds a download result. |
int |
getCount()
The download result count. |
IImageServerDownloadResult |
getElement(int index)
The download result at the specified position. |
void |
insert(int index,
IImageServerDownloadResult pDownloadResult)
Adds a download result at the specified position. |
void |
remove(int index)
Removes the download result at the specified position. |
void |
removeAll()
Removes all download results. |
Method Detail |
---|
int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServerDownloadResult getElement(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void add(IImageServerDownloadResult pDownloadResult) throws IOException, AutomationException
pDownloadResult
- A reference to a com.esri.arcgis.carto.IImageServerDownloadResult (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void insert(int index, IImageServerDownloadResult pDownloadResult) throws IOException, AutomationException
index
- The index (in)pDownloadResult
- A reference to a com.esri.arcgis.carto.IImageServerDownloadResult (in)
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 |