|
|||||||||
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
COM Class 'GpDispatch'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'
Description 'Utility object used to execute geoprocessing tools.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geoprocessing.IGPComHelper |
---|
IID, IID1e54e6b6_c2b0_470f_b030_d81d9464f3b3, xxDummy |
Constructor Summary | |
---|---|
GpDispatch()
Constructs a GpDispatch using ArcGIS Engine. |
|
GpDispatch(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GpDispatch theGpDispatch = (GpDispatch) obj; |
Method Summary | |
---|---|
void |
addToolbox(java.lang.String toolbox)
Adds a reference to the specified toolbox to the GeoProcessor. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IGPMessages |
execute(java.lang.String toolName,
IPropertySet params,
ITrackCancel trackCancel)
Executes the specified tool. |
static java.lang.String |
getClsid()
getClsid. |
IGPEnvironmentManager |
getEnvironmentManager()
The environment manager object associated with the helper. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getParameterName(java.lang.String toolName,
int index)
Get the parameter name for a given tool and index. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a GpDispatch. |
void |
removeToolbox(java.lang.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 |
Constructor Detail |
---|
public GpDispatch() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic GpDispatch(java.lang.Object obj) throws java.io.IOException
GpDispatch theGpDispatch = (GpDispatch) obj;
obj
to GpDispatch
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IGPMessages execute(java.lang.String toolName, IPropertySet params, ITrackCancel trackCancel) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getParameterName(java.lang.String toolName, int index) throws java.io.IOException, AutomationException
getParameterName
in interface IGPComHelper
toolName
- The toolName (in)index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addToolbox(java.lang.String toolbox) throws java.io.IOException, AutomationException
addToolbox
in interface IGPComHelper
toolbox
- The toolbox (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeToolbox(java.lang.String toolbox) throws java.io.IOException, AutomationException
removeToolbox
in interface IGPComHelper
toolbox
- The toolbox (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPEnvironmentManager getEnvironmentManager() throws java.io.IOException, AutomationException
getEnvironmentManager
in interface IGPComHelper
java.io.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 |