Class Licenses


  • public class Licenses
    extends java.lang.Object
    Contains the full texts of the GNU General Public Licence and the GNU Lesser General Public Licence.

    These are used in the presentation of a standard 'About' frame.

    Author:
    David Gilbert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String GPL
      The GNU General Public Licence.
      static java.lang.String LGPL
      The GNU Lesser General Public Licence.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGPL()
      Returns the GPL text in a non static way to prevent the compiler to copy the contents of the field.
      static Licenses getInstance()
      Returns a reference to this class.
      java.lang.String getLGPL()
      Returns the LGPL text in a non static way to prevent the compiler to copy the contents of the field.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GPL

        public static final java.lang.String GPL
        The GNU General Public Licence.
        See Also:
        Constant Field Values
      • LGPL

        public static final java.lang.String LGPL
        The GNU Lesser General Public Licence.
        See Also:
        Constant Field Values
    • Method Detail

      • getInstance

        public static Licenses getInstance()
        Returns a reference to this class.
        Returns:
        the instance reference.
      • getGPL

        public java.lang.String getGPL()
        Returns the GPL text in a non static way to prevent the compiler to copy the contents of the field.
        Returns:
        the GPL licence text.
      • getLGPL

        public java.lang.String getLGPL()
        Returns the LGPL text in a non static way to prevent the compiler to copy the contents of the field.
        Returns:
        the LGPL licence text.