Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.spellcheck
Enum Parameters.Default

java.lang.Object
  extended by java.lang.Enum<Parameters.Default>
      extended by net.java.sip.communicator.plugin.spellcheck.Parameters.Default
All Implemented Interfaces:
Serializable, Comparable<Parameters.Default>
Enclosing class:
Parameters

public static enum Parameters.Default
extends Enum<Parameters.Default>

Default attribute that may be defined in the parameters xml.


Enum Constant Summary
LOCALE
           
 
Method Summary
static Parameters.Default fromString(String str)
          Returns the enum representation of a string.
 String toString()
           
static Parameters.Default valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Parameters.Default[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LOCALE

public static final Parameters.Default LOCALE
Method Detail

values

public static Parameters.Default[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Parameters.Default c : Parameters.Default.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Parameters.Default valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromString

public static Parameters.Default fromString(String str)
Returns the enum representation of a string. This is case sensitive.

Parameters:
str - toString representation of a default field
Returns:
default field associated with a string
Throws:
IllegalArgumentException - if argument is not represented by a default field.

toString

public String toString()
Overrides:
toString in class Enum<Parameters.Default>

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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