net.sf.magicproject.ui.i18n
Class Language

java.lang.Object
  extended by net.sf.magicproject.ui.i18n.Language

public class Language
extends java.lang.Object

Since:
0.91
Author:
Fabrice Daugan

Constructor Summary
Language(java.lang.String key, java.lang.String locale, java.lang.String name, java.lang.String author, java.lang.String moreInfo, java.lang.String version)
          Create a new instance of this class.
 
Method Summary
 java.lang.String getAuthor()
          Returns author name of the translation.
 java.lang.String getKey()
          Returns the language key name.
 java.lang.String getLocale()
          Returns the Java Locale language name.
 java.lang.String getMoreInfo()
          Returns additional information about this translation.
 java.lang.String getName()
          Returns the language display name.
 java.lang.String getVersion()
          Returns the tested version for this translation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Language

public Language(java.lang.String key,
                java.lang.String locale,
                java.lang.String name,
                java.lang.String author,
                java.lang.String moreInfo,
                java.lang.String version)
Create a new instance of this class.

Parameters:
key - The language key name.
locale - The Java Locale language name. Like fr, en,...
name - The language display name. Like Francais, English,...
author - Author name of the translation.
moreInfo - Additional information about this translation.
version - The tested version for this translation.
Method Detail

getAuthor

public java.lang.String getAuthor()
Returns author name of the translation.

Returns:
Author name of the translation.

getMoreInfo

public java.lang.String getMoreInfo()
Returns additional information about this translation.

Returns:
Additional information about this translation.

getLocale

public java.lang.String getLocale()
Returns the Java Locale language name. Like fr, en,...

Returns:
the Java Locale language name. Like fr, en,...

getKey

public java.lang.String getKey()
Returns the language key name.

Returns:
the language key name.

getName

public java.lang.String getName()
Returns the language display name. Like Francais, English,...

Returns:
the language display name. Like Francais, English,...

getVersion

public java.lang.String getVersion()
Returns the tested version for this translation.

Returns:
the tested version for this translation.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2007 Magic-Project. All Rights Reserved.