|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.core.licensing.ClientKey
public final class ClientKey
Client Key
| Field Summary | |
|---|---|
static java.lang.String |
BEGIN_LICENSE_MARKER
BEGIN_LICENSE_MARKER |
static java.lang.String |
END_LICENSE_MARKER
END_LICENSE_MARKER |
| Method Summary | |
|---|---|
static ClientKey |
decrypt(java.lang.String encrypted,
java.lang.String email)
Decrypts an encrypted key string |
java.lang.String |
getEmail()
Gets the email for this key |
java.util.Calendar |
getExpiration()
Gets the expiration of this key |
boolean |
isCloseToExpiring()
True if this key is close to expiring |
boolean |
isCloseToMatching()
True if key has valid fields but email did not match |
boolean |
isExpired()
True if this key is expired |
boolean |
isPro()
True if pro key |
boolean |
isTrial()
True if trial key |
boolean |
isValid()
True if valid key |
boolean |
shouldProPluginsRun()
True if professional plugins should run |
static java.lang.String |
trimEncryptedLicense(java.lang.String encrypted)
Gets the trimmed version of a license key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BEGIN_LICENSE_MARKER
public static final java.lang.String END_LICENSE_MARKER
| Method Detail |
|---|
public static ClientKey decrypt(java.lang.String encrypted,
java.lang.String email)
encrypted - email -
public boolean isCloseToExpiring()
public boolean isValid()
public boolean isCloseToMatching()
public boolean isExpired()
public java.lang.String getEmail()
public java.util.Calendar getExpiration()
public boolean isTrial()
public boolean isPro()
public boolean shouldProPluginsRun()
public static java.lang.String trimEncryptedLicense(java.lang.String encrypted)
encrypted -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||