com.supermap.data
类 LicenseFileServiceImpl
- java.lang.Object
-
- com.supermap.data.LicenseFileServiceImpl
-
- 所有已实现的接口:
- LicenseService
已过时。As of release 10.0, replaced byLicenseFileServiceImpl
@Deprecated public class LicenseFileServiceImpl extends Object implements LicenseService
Title:文件许可实现
Description:
Copyright: Copyright (c) 2013
Company: SuperMap Software Co.,Ltd.
- 版本:
- 2.0
- 作者:
- gouyu
-
-
构造器概要
构造器 构造器和说明 LicenseFileServiceImpl()已过时。
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 限定符和类型 方法和说明 intconnect(int featureID)已过时。连接许可模块号intconnect(ProductType product)已过时。连接预定义许可模块voiddisconnect()已过时。断开许可连接voiddispose()已过时。释放资源,包括断开许可连接static booleanfindAndReadLicFile()已过时。StringgetCompany()已过时。获取公司信息StringgetErrorMessage(int code)已过时。获取错误信息LicenseFeatureInfogetFeatureInfo()已过时。获取许可的信息StringgetImplName()已过时。获取实现类的名字,用来识别不同的扩展static StringgetSpecifyLicenseFilePath()已过时。static StringgetSpecifyLicenseXML()已过时。StringgetUser()已过时。获取用户信息BooleanisCloudLicense()已过时。是否云许可static voidsetSpecifyLicenseFilePath(String value)已过时。static voidsetSpecifyLicenseXML(String value)已过时。intverify()已过时。验证许可连接是否有效
-
-
-
方法详细资料
-
findAndReadLicFile
public static boolean findAndReadLicFile()
已过时。
-
dispose
public void dispose()
已过时。从接口复制的说明:LicenseService释放资源,包括断开许可连接- 指定者:
dispose在接口中LicenseService
-
connect
public int connect(ProductType product)
已过时。从接口复制的说明:LicenseService连接预定义许可模块- 指定者:
connect在接口中LicenseService- 参数:
product- 预定义许可模块- 返回:
- 是否连接成功,成功返回0
-
connect
public int connect(int featureID)
已过时。从接口复制的说明:LicenseService连接许可模块号- 指定者:
connect在接口中LicenseService- 参数:
featureID- 许可模块号- 返回:
- 是否连接成功,成功返回0
-
verify
public int verify()
已过时。从接口复制的说明:LicenseService验证许可连接是否有效- 指定者:
verify在接口中LicenseService- 返回:
- 是否有效,成功返回0
-
disconnect
public void disconnect()
已过时。从接口复制的说明:LicenseService断开许可连接- 指定者:
disconnect在接口中LicenseService
-
getUser
public String getUser()
已过时。从接口复制的说明:LicenseService获取用户信息- 指定者:
getUser在接口中LicenseService- 返回:
- 用户信息
-
getCompany
public String getCompany()
已过时。从接口复制的说明:LicenseService获取公司信息- 指定者:
getCompany在接口中LicenseService- 返回:
- 公司信息
-
isCloudLicense
public Boolean isCloudLicense()
已过时。从接口复制的说明:LicenseService是否云许可- 指定者:
isCloudLicense在接口中LicenseService- 返回:
- 是否云许可
-
getSpecifyLicenseFilePath
public static String getSpecifyLicenseFilePath()
已过时。
-
setSpecifyLicenseFilePath
public static void setSpecifyLicenseFilePath(String value)
已过时。
-
getSpecifyLicenseXML
public static String getSpecifyLicenseXML()
已过时。
-
setSpecifyLicenseXML
public static void setSpecifyLicenseXML(String value)
已过时。
-
getFeatureInfo
public LicenseFeatureInfo getFeatureInfo()
已过时。从接口复制的说明:LicenseService获取许可的信息- 指定者:
getFeatureInfo在接口中LicenseService- 返回:
- 信息
-
getErrorMessage
public String getErrorMessage(int code)
已过时。从接口复制的说明:LicenseService获取错误信息- 指定者:
getErrorMessage在接口中LicenseService- 参数:
code- 错误码- 返回:
- 错误信息
-
getImplName
public String getImplName()
已过时。从接口复制的说明:LicenseService获取实现类的名字,用来识别不同的扩展- 指定者:
getImplName在接口中LicenseService- 返回:
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.