org.compass.annotations
Enum SnowballType
java.lang.Object
java.lang.Enum<SnowballType>
org.compass.annotations.SnowballType
- All Implemented Interfaces:
- Serializable, Comparable<SnowballType>
public enum SnowballType
- extends Enum<SnowballType>
The type of the snowball analyzer.
- Author:
- kimchy
- See Also:
SearchAnalyzer.snowballType()
Method Summary |
static SnowballType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SnowballType[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Danish
public static final SnowballType Danish
Dutch
public static final SnowballType Dutch
English
public static final SnowballType English
Finnish
public static final SnowballType Finnish
French
public static final SnowballType French
German
public static final SnowballType German
German2
public static final SnowballType German2
Italian
public static final SnowballType Italian
Kp
public static final SnowballType Kp
Lovins
public static final SnowballType Lovins
Norwegian
public static final SnowballType Norwegian
Porter
public static final SnowballType Porter
Portuguese
public static final SnowballType Portuguese
Russian
public static final SnowballType Russian
Spanish
public static final SnowballType Spanish
Swedish
public static final SnowballType Swedish
values
public static final SnowballType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SnowballType c : SnowballType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SnowballType 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
Copyright (c) 2004-2009 The Compass Project.