|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.morena.MorenaBase SK.gnome.morena.MorenaLicense
public final class MorenaLicense
MorenaTwain license container.
In the applet code, before calling the TwainManager, developer need to create an instance of the MorenaLicense class:
new SK.gnome.morena.MorenaLicense(NameOfYourApplet.class);
This ensures that the license is searched both in the directory from where applet was loaded and in the default directory.
Field Summary |
---|
Fields inherited from interface SK.gnome.morena.MorenaConstants |
---|
MORENA_MESSAGES, VERSION |
Constructor Summary | |
---|---|
MorenaLicense(java.lang.Class owner)
Create license instance using owner class loader. |
Method Summary | |
---|---|
static java.util.Enumeration |
enumerate()
Enumeration of all available licenses. |
byte[] |
getSignature()
Content of /morena.license.signature (or /javatwain.license.signature) |
byte[] |
getText()
Content of /morena.license.properties (or /javatwain.license.properties) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MorenaLicense(java.lang.Class owner) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public byte[] getText()
public byte[] getSignature()
public static java.util.Enumeration enumerate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |