|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.util.License
public class License
Handles anything related to licensing. The license information can either be provided in a file called flexgantt.properties that needs to be placed somewhere in the classpath or the licensee and the license key can be set directly on the license object.
Method Summary | |
---|---|
static License |
getInstance()
Returns the singleton instance of the license. |
java.lang.String |
getLicensee()
Returns the licensee's name. |
java.lang.String |
getLicenseKey()
Returns the license key. |
long |
getLoadTime()
Returns the time point when the license was loaded. |
boolean |
isLicensed()
Determines if the product has been licensed or not. |
void |
setLicensee(java.lang.String licensee)
Sets the name of the licensee. |
void |
setLicenseKey(java.lang.String key)
Sets the license key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public long getLoadTime()
public static License getInstance()
public boolean isLicensed()
public void setLicensee(java.lang.String licensee)
licensee
- the name of the licenseepublic java.lang.String getLicensee()
public void setLicenseKey(java.lang.String key)
key
- the license keypublic java.lang.String getLicenseKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |