|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.LicenseCreator
public final class LicenseCreator
| Constructor Summary | |
|---|---|
LicenseCreator()
|
|
| Method Summary | |
|---|---|
static void |
consoleApp()
|
License |
createGeneralLicense(String issuedFor)
license is still unsigned hereafter |
License |
createLicense(Object obj,
String issuedFor,
Date expirationDate,
int usageLeft,
boolean includeSubPackages)
license is still unsigned hereafter |
void |
installGeneralLicense(String issuedFor)
creates, signs and installs the license |
void |
installLicense(Object obj,
String issuedFor,
Date expirationDate,
int usageLeft,
boolean includeSubPackages)
|
static void |
main(String[] args)
|
void |
signLicense(License license)
only works in a proper development environment |
Date |
validForDays(int days)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LicenseCreator()
| Method Detail |
|---|
public License createLicense(Object obj,
String issuedFor,
Date expirationDate,
int usageLeft,
boolean includeSubPackages)
throws GeneralSecurityException,
IOException
GeneralSecurityException
IOException
public void signLicense(License license)
throws IOException,
LicensingException,
GeneralSecurityException
IOException
LicensingException
GeneralSecurityExceptionpublic Date validForDays(int days)
public void installLicense(Object obj,
String issuedFor,
Date expirationDate,
int usageLeft,
boolean includeSubPackages)
throws GeneralSecurityException,
IOException
GeneralSecurityException
IOException
public License createGeneralLicense(String issuedFor)
throws GeneralSecurityException,
IOException
GeneralSecurityException
IOException
public void installGeneralLicense(String issuedFor)
throws GeneralSecurityException,
IOException
GeneralSecurityException
IOException
public static void consoleApp()
throws Exception
Exception
public static void main(String[] args)
throws Exception
Exception
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||