public class LicenseInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LicenseInfo |
NONE |
Constructor and Description |
---|
LicenseInfo(LicenseType type,
long generationDate,
long expirationDate,
java.lang.String owner,
java.lang.String context,
byte[] sha) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.io.File> |
fileCandidates() |
java.lang.String |
getContext() |
java.util.Date |
getExpirationDate() |
java.util.Date |
getGenerationDate() |
LicenseType |
getLicenseType() |
java.lang.String |
getOwner() |
boolean |
hasExpired() |
boolean |
isNone() |
boolean |
isValid() |
static void |
main(java.lang.String[] args) |
static void |
persistMe(java.lang.String key) |
static LicenseInfo |
retrieveDistributor() |
static java.awt.image.BufferedImage |
retrieveDistributorImage(LicenseInfo licenseInfo) |
static LicenseInfo |
retrieveNamed(java.lang.String key) |
static boolean |
retrieveNamedOrDistributorQuickIsValid() |
static LicenseInfo |
retrieveNamedSlow() |
static LicenseInfo |
retrieveQuick() |
public static final LicenseInfo NONE
public LicenseInfo(LicenseType type, long generationDate, long expirationDate, java.lang.String owner, java.lang.String context, byte[] sha)
public static void persistMe(java.lang.String key) throws java.util.prefs.BackingStoreException
java.util.prefs.BackingStoreException
public static LicenseInfo retrieveQuick()
public static boolean retrieveNamedOrDistributorQuickIsValid()
public static LicenseInfo retrieveNamedSlow()
public static LicenseInfo retrieveNamed(java.lang.String key)
public static java.awt.image.BufferedImage retrieveDistributorImage(LicenseInfo licenseInfo)
public static LicenseInfo retrieveDistributor()
public static java.util.Collection<java.io.File> fileCandidates()
public static void main(java.lang.String[] args)
public final java.util.Date getGenerationDate()
public final java.util.Date getExpirationDate()
public final java.lang.String getOwner()
public boolean isNone()
public boolean isValid()
public boolean hasExpired()
public final LicenseType getLicenseType()
public final java.lang.String getContext()
Copyright © 2020. All Rights Reserved.