|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.componio.jlicensure.webmodule.util.LicenseeDataAdder
public class LicenseeDataAdder
Utitlity class for sending licensee data to the jlicensure server.
Constructor Summary | |
---|---|
LicenseeDataAdder()
|
Method Summary | |
---|---|
protected static Decoder |
createDecoder()
|
protected static Encoder |
createEncoder()
|
protected static SignedCommand |
createSignedCommand(Command cmd)
|
protected static java.lang.Class |
loadClass(java.lang.String name)
|
static void |
main(java.lang.String[] args)
Use the given command line argument to load a properties file and use those properties to send a AddLicenseeDataCommand to the JLicensure server. |
static LicenseeData |
newLicenseeData()
Create a new empty LicenseeData object |
static LicenseeData |
newLicenseeData(java.util.Properties properties)
Create a new LicenseeData object using the given set of properties |
protected static java.security.PrivateKey |
readPrivateKey()
|
static void |
sendLicenseeData(LicenseeData licData)
Send new licensee data to the server using the given set of properties |
static void |
setProperty(java.lang.String property,
java.lang.String value)
Set a property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LicenseeDataAdder()
Method Detail |
---|
public static LicenseeData newLicenseeData()
public static LicenseeData newLicenseeData(java.util.Properties properties)
properties
- properties
public static void sendLicenseeData(LicenseeData licData)
public static void setProperty(java.lang.String property, java.lang.String value)
property
- property namevalue
- property valueprotected static java.lang.Class loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
protected static Encoder createEncoder() throws java.lang.Exception
java.lang.Exception
protected static Decoder createDecoder() throws java.lang.Exception
java.lang.Exception
protected static SignedCommand createSignedCommand(Command cmd) throws java.lang.Exception
java.lang.Exception
protected static java.security.PrivateKey readPrivateKey() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |