|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.version.VersionManager
public class VersionManager
VersionManager Class
| Constructor Summary | |
|---|---|
VersionManager()
Constructs a VersionManager using ArcGIS Engine. |
|
VersionManager(Object obj)
Construct a VersionManager using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
Object |
createObject(GUID clsid)
Used to create objects within a remote host process such as dllhost. |
boolean |
equals(Object o)
Compare this object with another |
void |
getActiveVersion(int[] pCode,
String[] pVer,
String[] pPath)
Returns the product and version that the calling application is currently bound to. |
static String |
getClsid()
getClsid. |
void |
getVersions(IEnumVersions[] ppVersions)
Returns an enumerator over the currently installed versions. |
int |
hashCode()
the hashcode for this object |
boolean |
loadVersion(int productCode,
String engineVersion)
Binds the client engine application against a particular version of ArcGIS. |
String |
productNameFromCode(int __MIDL__IArcGISVersion0000)
Returns a product name given a product code. |
| 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 VersionManager()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public VersionManager(Object obj)
throws IOException
obj to VersionManager.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
VersionManager theVersionManager = (VersionManager) obj;| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean loadVersion(int productCode,
String engineVersion)
throws IOException,
AutomationException
loadVersion in interface IArcGISVersionproductCode - A com.esri.arcgis.version.esriProductCode constant (in)engineVersion - The engineVersion (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getActiveVersion(int[] pCode,
String[] pVer,
String[] pPath)
throws IOException,
AutomationException
getActiveVersion in interface IArcGISVersionpCode - A com.esri.arcgis.version.esriProductCode constant (out: use single element array)pVer - The pVer (out: use single element array)pPath - The pPath (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getVersions(IEnumVersions[] ppVersions)
throws IOException,
AutomationException
getVersions in interface IArcGISVersionppVersions - A reference to a com.esri.arcgis.version.IEnumVersions (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String productNameFromCode(int __MIDL__IArcGISVersion0000)
throws IOException,
AutomationException
productNameFromCode in interface IArcGISVersion__MIDL__IArcGISVersion0000 - A com.esri.arcgis.version.esriProductCode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object createObject(GUID clsid)
throws IOException,
AutomationException
createObject in interface IVersionHostclsid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 | ||||||||