org.carrot2.source.etools
Enum EToolsDocumentSource.Country

java.lang.Object
  extended by java.lang.Enum<EToolsDocumentSource.Country>
      extended by org.carrot2.source.etools.EToolsDocumentSource.Country
All Implemented Interfaces:
Serializable, Comparable<EToolsDocumentSource.Country>
Enclosing class:
EToolsDocumentSource

public static enum EToolsDocumentSource.Country
extends Enum<EToolsDocumentSource.Country>

Enumeration for countries supported by EToolsDocumentSource, see EToolsDocumentSource.country.


Enum Constant Summary
ALL
           
AUSTRIA
           
FRANCE
           
GERMANY
           
GREAT_BRITAIN
           
ITALY
           
LICHTENSTEIN
           
SPAIN
           
SWITZERLAND
           
 
Method Summary
 String getCode()
           
 String toString()
           
static EToolsDocumentSource.Country valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EToolsDocumentSource.Country[] 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

ALL

public static final EToolsDocumentSource.Country ALL

AUSTRIA

public static final EToolsDocumentSource.Country AUSTRIA

FRANCE

public static final EToolsDocumentSource.Country FRANCE

GERMANY

public static final EToolsDocumentSource.Country GERMANY

GREAT_BRITAIN

public static final EToolsDocumentSource.Country GREAT_BRITAIN

ITALY

public static final EToolsDocumentSource.Country ITALY

LICHTENSTEIN

public static final EToolsDocumentSource.Country LICHTENSTEIN

SPAIN

public static final EToolsDocumentSource.Country SPAIN

SWITZERLAND

public static final EToolsDocumentSource.Country SWITZERLAND
Method Detail

values

public static EToolsDocumentSource.Country[] 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 (EToolsDocumentSource.Country c : EToolsDocumentSource.Country.values())
    System.out.println(c);

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

valueOf

public static EToolsDocumentSource.Country 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

toString

public String toString()
Overrides:
toString in class Enum<EToolsDocumentSource.Country>

getCode

public String getCode()


Copyright (c) Dawid Weiss, Stanislaw Osinski