COM.hugin.HAPI
Class License

java.lang.Object
  extended by COM.hugin.HAPI.License

public class License
extends java.lang.Object

The `License` class. This class represents license information. A `License` object can be passed to (some) `Domain` and `ClassCollection` initializers in order to verify the license. Alternatively, the license information can be retrieved from a file.


Constructor Summary
License(java.lang.String product, java.lang.String user, java.lang.String organization, int licenseExpires, int supportExpires, int maxStates, int maxCases, java.lang.String key)
          Constructs a new `License` object.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

License

public License(java.lang.String product,
               java.lang.String user,
               java.lang.String organization,
               int licenseExpires,
               int supportExpires,
               int maxStates,
               int maxCases,
               java.lang.String key)
        throws ExceptionHugin
Constructs a new `License` object. The arguments must be copied from the license file. Missing optional fields are indicated by 0.

Throws:
ExceptionHugin