|
LCM Software TFTP Package v1.5 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lcmsoft.tftp.TftpRegistrationManager
public class TftpRegistrationManager
Manages registration keys for the package. The class
TftpRegistrationManager
is a central place that manages registration
keys for the entire package, so that you don't need to set registration keys for
each class. Once a registration key is set with TftpRegistrationManager
it is valid for all classes of the package.
Method Summary | |
---|---|
static java.lang.String |
getRegistrationKey()
Returns the registration key. |
static void |
setRegistrationKey(java.lang.String key)
Sets the registration key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setRegistrationKey(java.lang.String key)
IllegalArgumentException
, otherwise unlocks the package or
extends the number of transfers allowed per run, depending on the registration
key.
The registration key can be set anytime, but it is preferable to set it
at application initialization. Notice that the registration
key can be set only once. Caling setRegistrationKey
again will
throw an exception.
key
- registration keypublic static java.lang.String getRegistrationKey()
null
if not set
|
Copyright © 2004 LCM Software All rights reserved |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |