Source for org.jfree.JCommon

   1: /* ========================================================================
   2:  * JCommon : a free general purpose class library for the Java(tm) platform
   3:  * ========================================================================
   4:  *
   5:  * (C) Copyright 2000-2006, by Object Refinery Limited and Contributors.
   6:  * 
   7:  * Project Info:  http://www.jfree.org/jcommon/index.html
   8:  *
   9:  * This library is free software; you can redistribute it and/or modify it 
  10:  * under the terms of the GNU Lesser General Public License as published by 
  11:  * the Free Software Foundation; either version 2.1 of the License, or 
  12:  * (at your option) any later version.
  13:  *
  14:  * This library is distributed in the hope that it will be useful, but 
  15:  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
  16:  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 
  17:  * License for more details.
  18:  *
  19:  * You should have received a copy of the GNU Lesser General Public
  20:  * License along with this library; if not, write to the Free Software
  21:  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
  22:  * USA.  
  23:  *
  24:  * [Java is a trademark or registered trademark of Sun Microsystems, Inc. 
  25:  * in the United States and other countries.]
  26:  *
  27:  * ------------
  28:  * JCommon.java
  29:  * ------------
  30:  * (C) Copyright 2002-2005, by Object Refinery Limited.
  31:  *
  32:  * Original Author:  David Gilbert (for Object Refinery Limited);
  33:  * Contributor(s):   -;
  34:  *
  35:  * $Id: JCommon.java,v 1.5 2006/02/19 21:10:47 taqua Exp $
  36:  *
  37:  * Changes
  38:  * -------
  39:  * 28-Feb-2002 : Version 1 (DG);
  40:  * 22-Mar-2002 : Changed version number to 0.6.0 (DG);
  41:  * 25-Mar-2002 : Moved the project info details into a class so that the text can be localised
  42:  *               more easily (DG);
  43:  * 04-Apr-2002 : Added Hari to contributors (DG);
  44:  * 19-Apr-2002 : Added Sam (oldman) to contributors (DG);
  45:  * 07-Jun-2002 : Added contributors (DG);
  46:  * 24-Jun-2002 : Removed unnecessary imports (DG);
  47:  * 27-Aug-2002 : Updated version number to 0.7.0 (DG);
  48:  *
  49:  */
  50: 
  51: package org.jfree;
  52: 
  53: import org.jfree.ui.about.ProjectInfo;
  54: 
  55: /**
  56:  * This class contains static information about the JCommon class library.
  57:  *
  58:  * @author David Gilbert
  59:  */
  60: public final class JCommon {
  61: 
  62:     /** Information about the project. */
  63:     public static final ProjectInfo INFO = JCommonInfo.getInstance();
  64:     
  65:     /**
  66:      * Hidden constructor.
  67:      */
  68:     private JCommon() {
  69:         super();
  70:     }
  71:     
  72:     /**
  73:      * Prints information about JCommon to standard output.
  74:      *
  75:      * @param args  no arguments are honored.
  76:      */
  77:     public static void main(final String[] args) {
  78:         System.out.println(JCommon.INFO.toString());
  79:     }
  80: 
  81: }