//==================================================================================================
// J a v a I n f o r m a t i o n                                                               Java
//                                                                                By Bruno Bachelet
//==================================================================================================
// Copyright (c) 1999-2016
// Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
//
// This file is part of the B++ Library. This library is free software; you can redistribute it
// and/or modify it under the terms of the GNU Library General Public License as published by the
// Free Software Foundation; either version 2 of the License, or (at your option) any later
// version.
//
// This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
// the GNU Library General Public License for more details (http://www.gnu.org).

/*DESCRIPTION*/
/* This module contains general information about the Java part of the library. */

// Package //---------------------------------------------------------------------------------------
package bpp;

// Importation //-----------------------------------------------------------------------------------

// J a v a I n f o r m a t i o n  Class //----------------------------------------------------------
/*CLASS JavaInformation */ /* Represents general information about the Java part of the library. */
public class JavaInformation {
 //----------------------------------------------------------------------------------------Copyright
 /*METHOD JavaInformation */ /* Returns the copyright of the library. */
 public static String copyright() { return ("Copyright (c) 1999-2016"); }
 //---------------------------------------------------------------------------------------LastUpdate
 /*METHOD JavaInformation */ /* Returns the date of the last modification of the library. */
 public static String lastUpdate() { return ("12 July 2016"); }
 //----------------------------------------------------------------------------------ProgrammerEmail
 /*METHOD JavaInformation */ /* Returns the e-mail of the programmer. */
 public static String programmerEmail() { return ("bruno@nawouak.net"); }
 //-----------------------------------------------------------------------------------ProgrammerName
 /*METHOD JavaInformation */ /* Returns the name of the programmer. */
 public static String programmerName() { return ("Bruno Bachelet"); }
 //------------------------------------------------------------------------------------ProgrammerURL
 /*METHOD JavaInformation */ /* Returns the URL of the programmer. */
 public static String programmerURL() { return ("http://www.nawouak.net"); }
 //--------------------------------------------------------------------------------------Information
 /*METHOD JavaInformation */
 /* Returns general information about the program (whose name must be provided). */
 public static String information(String agProgramName) {
  String lcString;

  lcString="[>] -=-=- G E N E R A L   I N F O R M A T I O N -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
  lcString+="     "+agProgramName+"\n";
  lcString+="     Last updated the "+lastUpdate()+"\n";
  lcString+="\n";
  lcString+="     Written in Java\n";
  lcString+="\n";
  lcString+="     Coded by "+programmerName()+"\n";
  lcString+="     "+programmerEmail()+" - "+programmerURL()+"\n";
  lcString+="    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-";

  return (lcString);
 }
 //------------------------------------------------------------------------------------------License
 /*METHOD JavaInformation */ /* Returns the license of the library and the program. */
 public static String license() {
  String lcString;

  lcString="[>] -=-=- L I C E N S E -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n";
  lcString+="     This program is submitted to:\n";
  lcString+="\n";
  lcString+="      - Copyright (c) 1999-2016\n";
  lcString+="      - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net\n";
  lcString+="      -\n";
  lcString+="      - This program is free software; you can redistribute it and/or modify\n";
  lcString+="      - it under the terms of the GNU General Public License as published by\n";
  lcString+="      - the Free Software Foundation; either version 2 of the license, or\n";
  lcString+="      - (at your option) any later version.\n";
  lcString+="      -\n";
  lcString+="      - This program is distributed in the hope that it will be useful, but\n";
  lcString+="      - WITHOUT ANY WARRANTY; without even the implied warranty of\n";
  lcString+="      - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n";
  lcString+="      - General Public License for more details (http://www.gnu.org).\n";
  lcString+="\n";
  lcString+="     All the source files of the B++ Library are submitted to:\n";
  lcString+="\n";
  lcString+="      - Copyright (c) 1999-2016\n";
  lcString+="      - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net\n";
  lcString+="      -\n";
  lcString+="      - This program is part of the B++ Library. This library is free\n";
  lcString+="      - software; you can redistribute it and/or modify it under the terms of\n";
  lcString+="      - the GNU Library General Public License as published by the Free\n";
  lcString+="      - Software Foundation; either version 2 of the License, or (at your\n";
  lcString+="      - option) any later version.\n";
  lcString+="      -\n";
  lcString+="      - This library is distributed in the hope that it will be useful, but\n";
  lcString+="      - WITHOUT ANY WARRANTY; without even the implied warranty of\n";
  lcString+="      - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n";
  lcString+="      - Library General Public License for more details (http://www.gnu.org).\n";
  lcString+="\n";
  lcString+="    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-";

  return (lcString);
 }
}

// End //-------------------------------------------------------------------------------------------