Documentation of 'jv.rsrc.PsLicense' Java class
PsLicense ("JavaView Reference Manual")
"JavaView? v5.03.003"
jv.rsrc

Class PsLicense

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, PsUpdateIf


    public final class PsLicense
    extends PsObject
    implements java.awt.event.ActionListener
    All JavaView license information for configuration of the system.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    09.04.07, 1.30 revised (kp) Return value of getLicenseDate() changed to Calendar from Date.
    04.10.06, 1.20 revised (kp) Method getLicenseeInfo() now public.
    26.10.03, 1.10 revised (kp) New method added to get expiration date.
    26.06.03, 1.00 created (kp) Extracted from PsJavaView.
    • Constructor Detail

      • PsLicense

        public PsLicense()
    • Method Detail

      • init

        public void init()
        Initialize and reset license.
        Overrides:
        init in class PsObject
      • getLicenseeInfo

        public static PsAuthorInfo getLicenseeInfo()
        Get information about current licensee of JavaView using licensee XML tag.
      • getAuthorInfo

        public static PsAuthorInfo getAuthorInfo()
        Get information about current licensee of JavaView using author XML tag.
      • getLicenseDate

        public final java.util.Calendar getLicenseDate()
        Get license expiration date.
        Version:
        09.04.07, 1.30 revised (kp) Return value of getLicenseDate() changed to Calendar from Date.
      • getLicenseId

        public java.lang.String getLicenseId()
        Get license identification number.
      • getLicenseType

        public java.lang.String getLicenseType()
        Get license type.
      • getLicensee

        public java.lang.String getLicensee()
        Get name of licensee.
      • showInfoPanel

        public void showInfoPanel()
        Show dialog with info panel. This method will soon be replaced.
      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent event)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • read

        public boolean read(java.lang.String licFile)
        Read an XML file and create a tree structure of instances of type PsXmlNode.
        Parameters:
        licFile - full name of license file
        Returns:
        true if loading was successful
      • write

        public boolean write(java.lang.String licFile)
        Write an XML file and create a tree structure of instances of type PsXmlNode.
        Parameters:
        licFile - full name of license file
        Returns:
        true if loading was successful
      • getXml

        public PsXmlSrc getXml()
        Fills an XML tree with data from this instance, for example, to print to file.
        Returns:
        XML tree filled with data from this instance.
      • setXml

        public void setXml(PsXmlSrc src)
        Fill this instance with data from an XML source, for example, previously read from file.
        Parameters:
        src - XML source used to fill this instance with data.
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

Ads help maintain this website.