Package net.sourceforge.plantuml.version
Class LicenseInfo
java.lang.Object
net.sourceforge.plantuml.version.LicenseInfo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLicenseInfo
(LicenseType type, long generationDate, long expirationDate, String owner, String context, byte[] sha) -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<SFile>
final String
final Date
final Date
final LicenseType
final String
getOwner()
boolean
boolean
isNone()
boolean
isValid()
static void
static void
static LicenseInfo
static BufferedImage
retrieveDistributorImage
(LicenseInfo licenseInfo) static LicenseInfo
retrieveNamed
(String key) static boolean
static LicenseInfo
static LicenseInfo
-
Field Details
-
NONE
-
-
Constructor Details
-
LicenseInfo
public LicenseInfo(LicenseType type, long generationDate, long expirationDate, String owner, String context, byte[] sha)
-
-
Method Details
-
retrieveQuick
-
isValid
public boolean isValid() -
persistMe
- Throws:
BackingStoreException
-
retrieveNamedOrDistributorQuickIsValid
public static boolean retrieveNamedOrDistributorQuickIsValid() -
retrieveNamedSlow
-
retrieveNamed
-
retrieveDistributorImage
-
retrieveDistributor
-
fileCandidates
-
main
-
getGenerationDate
-
getExpirationDate
-
getOwner
-
isNone
public boolean isNone() -
hasExpired
public boolean hasExpired() -
getLicenseType
-
getContext
-