com.esri.arcgis.system
Class ProductInstalled

java.lang.Object
  extended by com.esri.arcgis.system.ProductInstalled
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IProductInstalled, Serializable

public class ProductInstalled
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IProductInstalled

Class checks the installed ArcGIS products on the machine.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ProductInstalled()
          Constructs a ProductInstalled using ArcGIS Engine.
ProductInstalled(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ProductInstalled theProductInstalled = (ProductInstalled) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 boolean isProductInstalled(int productInstalled)
          Check if the Product is installed on the machine.
 
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

ProductInstalled

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

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

ProductInstalled

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

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

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

isProductInstalled

public boolean isProductInstalled(int productInstalled)
                           throws IOException,
                                  AutomationException
Check if the Product is installed on the machine.

Description

IsProductInstalled returns True or False whether the passed enumerator of the ArcGIS product is installed on the machine.

Product Availability

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

Specified by:
isProductInstalled in interface IProductInstalled
Parameters:
productInstalled - A com.esri.arcgis.system.esriProductInstalled constant (in)
Returns:
The bInstalled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.