|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesfile.LicensedDataExtension
public class LicensedDataExtension
The Licensed Data Extension.
| Constructor Summary | |
|---|---|
LicensedDataExtension()
Constructs a LicensedDataExtension using ArcGIS Engine. |
|
LicensedDataExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LicensedDataExtension theLicensedDataExtension = (LicensedDataExtension) obj; |
|
| Method Summary | |
|---|---|
void |
addLicenseFromFile(String bstrLicenseFileName)
Adds license information. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
Number of license information. |
IDataLicenseInfo |
getLicenseInfo(int nIdx)
Returns license information by index. |
IDataLicenseInfo |
getLicenseInfoFromFile(String bstrLicenseFileName)
Returns license information by file name. |
String |
getName()
The name of the extension. |
int |
hashCode()
the hashcode for this object |
void |
removeLicense(int nIdx)
Removes license information. |
void |
shutdown()
Shuts down the extension. |
void |
startup(Object initializationData)
Starts up the extension with the given initialization data. |
| 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 LicensedDataExtension()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public LicensedDataExtension(Object obj)
throws IOException
LicensedDataExtension theLicensedDataExtension = (LicensedDataExtension) obj;
obj to LicensedDataExtension.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getName()
throws IOException,
AutomationException
When implementing IExtension to create a custom extension, use the Name property to set the name of this extension.
If you implement persistence (e.g. IPersistVariant) for the extension, the length of the Name property cannot exceed 31 characters.
getName in interface IExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startup(Object initializationData)
throws IOException,
AutomationException
initializationData is a reference to the object with which this extension is registered.
When implementing IExtension to create a custom extension, use the Startup method to perform some action when the extension gets loaded.
The following list is an example of some of the common object types for the initializationData parameter.
Extension Category initializationData object type
ESRI Mx Application Application (IMxApplication)
ESRI Gx Applcation Application (IGxApplication)
ESRI Editor Extensions Editor (IEditor)
startup in interface IExtensioninitializationData - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shutdown()
throws IOException,
AutomationException
When implementing IExtension to create a custom extension, use the Shutdown method to perform some action when the extension gets unloaded.
shutdown in interface IExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
getCount in interface IDataLicenseManagerIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataLicenseInfo getLicenseInfo(int nIdx)
throws IOException,
AutomationException
getLicenseInfo in interface IDataLicenseManagernIdx - The nIdx (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addLicenseFromFile(String bstrLicenseFileName)
throws IOException,
AutomationException
addLicenseFromFile in interface IDataLicenseManagerbstrLicenseFileName - The bstrLicenseFileName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeLicense(int nIdx)
throws IOException,
AutomationException
removeLicense in interface IDataLicenseManagernIdx - The nIdx (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataLicenseInfo getLicenseInfoFromFile(String bstrLicenseFileName)
throws IOException,
AutomationException
getLicenseInfoFromFile in interface IDataLicenseManagerbstrLicenseFileName - The bstrLicenseFileName (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 | ||||||||