com.esri.arcgis.carto
Class RasterServiceHelper

java.lang.Object
  extended by com.esri.arcgis.carto.RasterServiceHelper
All Implemented Interfaces:
IRasterServiceHelper, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RasterServiceHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterServiceHelper

A Web Service helper class.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
RasterServiceHelper()
          Constructs a RasterServiceHelper using ArcGIS Engine.
RasterServiceHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterServiceHelper theRasterServiceHelper = (RasterServiceHelper) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 IRasterDataset open(IName pName)
          Creates a raster dataset given a WCS or Image Service name object.
 IRasterDataset openFromFile(String urlString)
          Creates a raster dataset given an Image Service Reference file.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

RasterServiceHelper

public RasterServiceHelper()
                    throws IOException,
                           UnknownHostException
Constructs a RasterServiceHelper using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RasterServiceHelper

public RasterServiceHelper(Object obj)
                    throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterServiceHelper theRasterServiceHelper = (RasterServiceHelper) obj;

Construct a RasterServiceHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterServiceHelper.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

open

public IRasterDataset open(IName pName)
                    throws IOException,
                           AutomationException
Creates a raster dataset given a WCS or Image Service name object.

Product Availability

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

Specified by:
open in interface IRasterServiceHelper
Parameters:
pName - A reference to a com.esri.arcgis.system.IName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFromFile

public IRasterDataset openFromFile(String urlString)
                            throws IOException,
                                   AutomationException
Creates a raster dataset given an Image Service Reference file.

Product Availability

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

Specified by:
openFromFile in interface IRasterServiceHelper
Parameters:
urlString - The urlString (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.