|
||||||||||
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 java.lang.String |
byteArrayToHexString(byte[] b)
|
static java.lang.String |
getKey()
|
static StiLicenseKey |
getLicenseKey()
|
static void |
loadFromFile(java.lang.String file)
Loads a license key from the specified file. |
static void |
loadFromStream(java.io.InputStream stream)
Loads a license key from the specified stream. |
static void |
loadFromString(java.lang.String licenseKey)
Loads a license key from the specified string. |
static void |
setKey(java.lang.String value)
|
static void |
setLicenseKey(StiLicenseKey licenseKey)
|
static void |
setNewLicenseKey(java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
equals, 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 java.lang.String getKey()
public static void setKey(java.lang.String value)
public static void setNewLicenseKey(java.lang.String value)
public static java.lang.String byteArrayToHexString(byte[] b)
public static void loadFromFile(java.lang.String file) throws java.io.FileNotFoundException, java.io.IOException
file
- path
java.io.IOException
java.io.FileNotFoundException
public static void loadFromStream(java.io.InputStream stream) throws java.io.IOException
stream
- to license key
java.io.IOException
public static void loadFromString(java.lang.String licenseKey)
licenseKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |