Package com.atlassian.confluence.search
Enum SearchLanguage
- java.lang.Object
-
- java.lang.Enum<SearchLanguage>
-
- com.atlassian.confluence.search.SearchLanguage
-
- All Implemented Interfaces:
LanguageDescriptor
,Serializable
,Comparable<SearchLanguage>
public enum SearchLanguage extends Enum<SearchLanguage> implements LanguageDescriptor
- Since:
- 7.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchLanguage
fromString(String value)
static SearchLanguage
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchLanguage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARABIC
public static final SearchLanguage ARABIC
-
BRAZILIAN
public static final SearchLanguage BRAZILIAN
-
CHINESE
public static final SearchLanguage CHINESE
-
CJK
public static final SearchLanguage CJK
-
CZECH
public static final SearchLanguage CZECH
-
CUSTOM_JAPANESE
public static final SearchLanguage CUSTOM_JAPANESE
-
DANISH
public static final SearchLanguage DANISH
-
DUTCH
public static final SearchLanguage DUTCH
-
ENGLISH
public static final SearchLanguage ENGLISH
-
FINNISH
public static final SearchLanguage FINNISH
-
FRENCH
public static final SearchLanguage FRENCH
-
GERMAN
public static final SearchLanguage GERMAN
-
GREEK
public static final SearchLanguage GREEK
-
HUNGARIAN
public static final SearchLanguage HUNGARIAN
-
ITALIAN
public static final SearchLanguage ITALIAN
-
NORWEGIAN
public static final SearchLanguage NORWEGIAN
-
PERSIAN
public static final SearchLanguage PERSIAN
-
POLISH
public static final SearchLanguage POLISH
-
ROMANIAN
public static final SearchLanguage ROMANIAN
-
RUSSIAN
public static final SearchLanguage RUSSIAN
-
SPANISH
public static final SearchLanguage SPANISH
-
SWEDISH
public static final SearchLanguage SWEDISH
-
OTHER
public static final SearchLanguage OTHER
-
-
Field Detail
-
value
public final String value
-
-
Method Detail
-
values
public static SearchLanguage[] 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 (SearchLanguage c : SearchLanguage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchLanguage 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 nameNullPointerException
- if the argument is null
-
fromString
public static SearchLanguage fromString(String value)
-
-