Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.spellcheck
Class Parameters.Locale

java.lang.Object
  extended by net.java.sip.communicator.plugin.spellcheck.Parameters.Locale
Enclosing class:
Parameters

public static class Parameters.Locale
extends Object

Locale with an available dictionary resource.


Method Summary
 URL getDictUrl()
          Provides the url where the dictionary resource can be found for this language.
 String getIsoCode()
          Provides ISO code as defined by:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
 String getLabel()
          Provides user readable name of language.
 boolean isLoading()
          Indicates if this locale is currenly loading in the list of locales.
 void setLoading(boolean loading)
          Sets the loading property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLabel

public String getLabel()
Provides user readable name of language.

Returns:
name of language presented to user

getIsoCode

public String getIsoCode()
Provides ISO code as defined by:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Returns:
iso code

getDictUrl

public URL getDictUrl()
Provides the url where the dictionary resource can be found for this language.

Returns:
url of dictionary resource

setLoading

public void setLoading(boolean loading)
Sets the loading property. Indicates if this locale is currently loaded in the list.

Parameters:
loading - indicates if this locale is currently loading in the locales list

isLoading

public boolean isLoading()
Indicates if this locale is currenly loading in the list of locales.

Returns:
true if the locale is loading, false - otherwise

toString

public String toString()
Overrides:
toString in class Object

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.