net.java.sip.communicator.plugin.spellcheck
Enum Parameters.Default
java.lang.Object
java.lang.Enum<Parameters.Default>
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.
LOCALE
public static final Parameters.Default LOCALE
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.
Distributable under LGPL license.