|
Carrot2 v3.3.0
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<EToolsDocumentSource.Language>
org.carrot2.source.etools.EToolsDocumentSource.Language
public static enum EToolsDocumentSource.Language
Enumeration for languages supported by EToolsDocumentSource, see
EToolsDocumentSource.language.
| Enum Constant Summary | |
|---|---|
ALL
|
|
ENGLISH
|
|
FRENCH
|
|
GERMAN
|
|
ITALIAN
|
|
SPANISH
|
|
| Method Summary | |
|---|---|
String |
getCode()
|
LanguageCode |
toLanguageCode()
Returns a corresponding LanguageCode or null if no
LanguageCode corresponds to this EToolsDocumentSource.Language constant. |
String |
toString()
|
static EToolsDocumentSource.Language |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EToolsDocumentSource.Language[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EToolsDocumentSource.Language ALL
public static final EToolsDocumentSource.Language ENGLISH
public static final EToolsDocumentSource.Language FRENCH
public static final EToolsDocumentSource.Language GERMAN
public static final EToolsDocumentSource.Language ITALIAN
public static final EToolsDocumentSource.Language SPANISH
| Method Detail |
|---|
public static final EToolsDocumentSource.Language[] values()
for(EToolsDocumentSource.Language c : EToolsDocumentSource.Language.values())
System.out.println(c);
public static EToolsDocumentSource.Language valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String toString()
toString in class Enum<EToolsDocumentSource.Language>public String getCode()
public LanguageCode toLanguageCode()
LanguageCode or null if no
LanguageCode corresponds to this EToolsDocumentSource.Language constant.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||