|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.base.licenses.StiLicense
public class StiLicense
This class is used for setup licensing of the reporting tool. Copyright Stimulsoft
| Constructor Summary | |
|---|---|
StiLicense()
|
|
| Method Summary | |
|---|---|
static String |
byteArrayToHexString(byte[] b)
|
static String |
getKey()
|
static StiLicenseKey |
getLicenseKey()
|
static void |
loadFromFile(String file)
Loads a license key from the specified file. |
static void |
loadFromStream(InputStream stream)
Loads a license key from the specified stream. |
static void |
loadFromString(String licenseKey)
Loads a license key from the specified string. |
static void |
setKey(String value)
|
static void |
setLicenseKey(StiLicenseKey licenseKey)
|
static void |
setNewLicenseKey(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StiLicense()
| Method Detail |
|---|
public static StiLicenseKey getLicenseKey()
public static void setLicenseKey(StiLicenseKey licenseKey)
licenseKey - the licenseKey to setpublic static String getKey()
public static void setKey(String value)
public static void setNewLicenseKey(String value)
public static String byteArrayToHexString(byte[] b)
public static void loadFromFile(String file)
throws FileNotFoundException,
IOException
file - path
IOException
FileNotFoundException
public static void loadFromStream(InputStream stream)
throws IOException
stream - to license key
IOExceptionpublic static void loadFromString(String licenseKey)
licenseKey -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||