public class ESRILicenseInfo extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IESRILicenseInfo
Description 'Esri License Info.' 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 =
IID, IIDfcf1e388_5c7e_4bf3_af4b_155d93f8297f, xxDummy
Constructor and Description |
---|
ESRILicenseInfo()
Constructs a ESRILicenseInfo using ArcGIS Engine.
|
ESRILicenseInfo(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ESRILicenseInfo theESRILicenseInfo = (ESRILicenseInfo) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDefaultProduct()
Indicates the product code that will be used on the current machine.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isLicensed(int productCode)
Indicates if the specified product is licensed.
|
void |
release()
Release this COM object reference
|
public ESRILicenseInfo() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ESRILicenseInfo(java.lang.Object obj) throws java.io.IOException
ESRILicenseInfo theESRILicenseInfo = (ESRILicenseInfo) obj;
obj
to ESRILicenseInfo
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic 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 int getDefaultProduct() throws java.io.IOException, AutomationException
getDefaultProduct
in interface IESRILicenseInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isLicensed(int productCode) throws java.io.IOException, AutomationException
isLicensed
in interface IESRILicenseInfo
productCode
- A com.esri.arcgis.system.esriProductCode constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.