net.sf.freecol.common.option
Class LanguageOption.Language

java.lang.Object
  extended by net.sf.freecol.common.option.LanguageOption.Language
Enclosing class:
LanguageOption

public static class LanguageOption.Language
extends java.lang.Object


Field Summary
private  java.lang.String key
          Describe key here.
private  java.util.Locale locale
          Describe locale here.
 
Constructor Summary
LanguageOption.Language(java.lang.String key, java.util.Locale locale)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getKey()
          Get the Key value.
 java.util.Locale getLocale()
          Get the Locale value.
 void setKey(java.lang.String newKey)
          Set the Key value.
 void setLocale(java.util.Locale newLocale)
          Set the Locale value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

private java.lang.String key
Describe key here.


locale

private java.util.Locale locale
Describe locale here.

Constructor Detail

LanguageOption.Language

public LanguageOption.Language(java.lang.String key,
                               java.util.Locale locale)
Method Detail

getKey

public final java.lang.String getKey()
Get the Key value.

Returns:
a String value

setKey

public final void setKey(java.lang.String newKey)
Set the Key value.

Parameters:
newKey - The new Key value.

getLocale

public final java.util.Locale getLocale()
Get the Locale value.

Returns:
a Locale value

setLocale

public final void setLocale(java.util.Locale newLocale)
Set the Locale value.

Parameters:
newLocale - The new Locale value.

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object