|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.LicensedDataExtension
public class LicensedDataExtension
The Licensed Data Extension.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IExtension |
---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
Constructor Summary | |
---|---|
LicensedDataExtension()
Constructs a LicensedDataExtension using ArcGIS Engine. |
|
LicensedDataExtension(Object obj)
Construct a LicensedDataExtension using a reference to such an object returned from ArcGIS Engine or Server. |
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 problemspublic LicensedDataExtension(Object obj) throws IOException
obj
to LicensedDataExtension
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
LicensedDataExtension theLicensedDataExtension = (LicensedDataExtension) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startup(Object initializationData) throws IOException, AutomationException
startup
in interface IExtension
initializationData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IDataLicenseManager
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataLicenseInfo getLicenseInfo(int nIdx) throws IOException, AutomationException
getLicenseInfo
in interface IDataLicenseManager
nIdx
- 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 IDataLicenseManager
bstrLicenseFileName
- 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 IDataLicenseManager
nIdx
- 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 IDataLicenseManager
bstrLicenseFileName
- 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 |