Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

java.lang.Object
  extended by net.java.sip.communicator.plugin.spellcheck.Parameters

 class Parameters
extends Object

Information provided via the spellchecer's xml parameters.

Author:
Damian Johnson

Nested Class Summary
static class Parameters.Default
          Default attribute that may be defined in the parameters xml.
static class Parameters.Locale
          Locale with an available dictionary resource.
 
Constructor Summary
Parameters()
           
 
Method Summary
static String getDefault(Parameters.Default field)
          Provides the value of a particular default field, null if undefined.
static Parameters.Locale getLocale(String isoCode)
          Provides locale with a given iso code.
static ArrayList<Parameters.Locale> getLocales()
          Provides locales in which dictionary resources are available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameters

Parameters()
Method Detail

getDefault

public static String getDefault(Parameters.Default field)
Provides the value of a particular default field, null if undefined.

Parameters:
field - default field to retrieve
Returns:
value corresponding to default field

getLocale

public static Parameters.Locale getLocale(String isoCode)
Provides locale with a given iso code. Null if undefined.

Parameters:
isoCode - iso code of locale to be retrieved
Returns:
locale with corresponding iso code

getLocales

public static ArrayList<Parameters.Locale> getLocales()
Provides locales in which dictionary resources are available.

Returns:
locations with dictionary resources

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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