|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GpDispatch
public class GpDispatch
Utility object used to execute geoprocessing tools.
The GpDispatch object is a coarse grained ArcObject that permits geoprocessing tools and environments to be used in a scripting language. This object supports the COM IDispatch object. For more information about this object, refer to the ArcGIS for Desktop Help.
With ArcGIS 9.2, you are now recommended to use the new Geoprocessor class.
Constructor Summary | |
---|---|
GpDispatch()
Constructs a GpDispatch using ArcGIS Engine. |
|
GpDispatch(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GpDispatch theGpDispatch = (GpDispatch) obj; |
Method Summary | |
---|---|
void |
addToolbox(String toolbox)
Adds a reference to the specified toolbox to the GeoProcessor. |
boolean |
equals(Object o)
Compare this object with another |
IGPMessages |
execute(String toolName,
IPropertySet params,
ITrackCancel trackCancel)
Executes the specified tool. |
static String |
getClsid()
getClsid. |
IGPEnvironmentManager |
getEnvironmentManager()
The environment manager object associated with the helper. |
String |
getParameterName(String toolName,
int index)
Get the parameter name for a given tool and index. |
int |
hashCode()
the hashcode for this object |
void |
removeToolbox(String toolbox)
Removes the reference to the specified toolbox from the GeoProcessor. |
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 |
---|
public GpDispatch() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GpDispatch(Object obj) throws IOException
GpDispatch theGpDispatch = (GpDispatch) obj;
obj
to GpDispatch
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IGPMessages execute(String toolName, IPropertySet params, ITrackCancel trackCancel) throws IOException, AutomationException
execute
in interface IGPComHelper
toolName
- The toolName (in)params
- A reference to a com.esri.arcgis.system.IPropertySet (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getParameterName(String toolName, int index) throws IOException, AutomationException
getParameterName
in interface IGPComHelper
toolName
- The toolName (in)index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addToolbox(String toolbox) throws IOException, AutomationException
addToolbox
in interface IGPComHelper
toolbox
- The toolbox (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeToolbox(String toolbox) throws IOException, AutomationException
removeToolbox
in interface IGPComHelper
toolbox
- The toolbox (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPEnvironmentManager getEnvironmentManager() throws IOException, AutomationException
getEnvironmentManager
in interface IGPComHelper
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 |