|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 runtime that the calling application is currently bound to. |
static String |
getClsid()
getClsid. |
void |
getVersions(IEnumVersions[] ppVersions)
Returns an enumerator over the currently installed runtimes. |
int |
hashCode()
the hashcode for this object |
boolean |
loadVersion(int productCode,
String engineVersion)
Binds the client engine application against the specified ArcGIS runtime. |
void |
next(int[] pCode,
String[] pVer,
String[] path)
Returns the next version in the sequence of installed versions. |
String |
productNameFromCode(int __MIDL__IArcGISVersion0000)
Returns a product name given a product code. |
void |
reset()
Resets the enumerator to the beggining of the sequence. |
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 problemspublic 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 Object
public int hashCode()
hashCode
in class Object
public boolean loadVersion(int productCode, String engineVersion) throws IOException, AutomationException
loadVersion
in interface IArcGISVersion
productCode
- 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 IArcGISVersion
pCode
- 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 IArcGISVersion
ppVersions
- 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 IVersionHost
clsid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IEnumVersions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void next(int[] pCode, String[] pVer, String[] path) throws IOException, AutomationException
next
in interface IEnumVersions
pCode
- A com.esri.arcgis.version.esriProductCode constant (out: use single element array)pVer
- The pVer (out: use single element array)path
- The path (out: use single element array)
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 |