| java.lang.Object com.memoire.vainstall.LicenseKeySupport com.memoire.vainstall.TestLicenseKeySupport
TestLicenseKeySupport | public class TestLicenseKeySupport extends LicenseKeySupport (Code) | | this class is default implementation of license key support, that does nothing.
|
decodeStream | public InputStream decodeStream(InputStream is)(Code) | | decode archive.zip stream using infromation supplied in fieldValues
Parameters: is - input steam to decode decrypted stream |
encodeStream | public OutputStream encodeStream(OutputStream is, String key)(Code) | | encode archive.zip stream with key supplied as string in
configuration file, this fucntion is called during building install
package
Parameters: is - input steam to encode Parameters: key - key supplied in configuration file encrypted stream |
getFieldInfo | public FieldInfo[] getFieldInfo()(Code) | | get field info for this installer
array of field info. |
getRegistrationPage | public String getRegistrationPage()(Code) | | uri of page that contains registration page,if such uri is not null, then it will be shownto user and launch browser button will be displayeddepending on ui and platform. |
isLicenseKeyValid | public boolean isLicenseKeyValid()(Code) | | true, if license key is valid, this method should be called onlyafter set field values were called. |
needsLicenseKey | public boolean needsLicenseKey()(Code) | | true if license key query step need to be performed |
setFieldValues | public void setFieldValues(String values)(Code) | | set field values, this method coudl be called any number of times.
implementation of this class should keep last passed values.
Parameters: values - array of strings where each element correspond fieldinfo returned from get field info. |
|
|