Class Licences


  • public class Licences
    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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String GPL
      Deprecated.
      static java.lang.String LGPL
      Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      Licences()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGPL()
      Returns the GPL (v2.1) text.
      static Licences getInstance()
      Returns a reference to the single instance of this class.
      java.lang.String getLGPL()
      Returns the LGPL (v2.1) text.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static Licences getInstance()
        Returns a reference to the single instance of this class. In fact, there is little point to having an instance of this class, but we're leaving it that way for backwards compatibility until the JCommon retirement.
        Returns:
        the instance reference.
      • getGPL

        public java.lang.String getGPL()
        Returns the GPL (v2.1) text.
        Returns:
        the GPL licence text.
      • getLGPL

        public java.lang.String getLGPL()
        Returns the LGPL (v2.1) text.
        Returns:
        the LGPL licence text.