View Javadoc
1 /* 2 Bloof - visualize the evolution of your software project 3 Copyright ( C ) 2003 Lukasz Pekacki <lukasz@pekacki.de> 4 http://bloof.sf.net/ 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms of the GNU General Public License. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License along with 15 this program; if not, write to the Free Software Foundation, Inc., 16 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 18 $RCSfile: Language.java,v $ 19 Created on $Date: 2003/09/06 08:46:36 $ 20 */ 21 package net.sf.bloof.script.intl; 22 23 /*** 24 * This class represents the supported languages of Bloof 25 * @author Lukasz Pekacki <pekacki@users.sourceforge.net> 26 * @version $Id: Language.java,v 1.1 2003/09/06 08:46:36 pekacki Exp $ 27 */ 28 public class Language { 29 private Language( String aName ) { 30 mName = aName; 31 } 32 /*** 33 * Returns the name of the language 34 * @return String 35 */ 36 public String getName( ) { 37 return mName; 38 } 39 /*** 40 * @see java.lang.Object#toString( ) 41 */ 42 public String toString( ) { 43 return getName( ); 44 } 45 /*** Constant for English language */ 46 public static final Language ENGLISH = new Language( "English" ); 47 /*** Constant for German language */ 48 public static final Language GERMAN = new Language( "Deutsch" ); 49 private String mName; 50 }

This page was automatically generated by Maven