net.aksingh.owmjapis
Enum OpenWeatherMap.Language

java.lang.Object
  extended by java.lang.Enum<OpenWeatherMap.Language>
      extended by net.aksingh.owmjapis.OpenWeatherMap.Language
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OpenWeatherMap.Language>
Enclosing class:
OpenWeatherMap

public static enum OpenWeatherMap.Language
extends java.lang.Enum<OpenWeatherMap.Language>

Languages that can be set for getting data from OWM.org

Since:
2.5.0.3

Enum Constant Summary
BULGARIAN
           
CATALAN
           
CHINESE_SIMPLIFIED
           
CHINESE_TRADITIONAL
           
CROATIAN
           
DUTCH
           
ENGLISH
           
FINNISH
           
FRENCH
           
GERMAN
           
ITALIAN
           
POLISH
           
PORTUGUESE
           
ROMANIAN
           
RUSSIAN
           
SPANISH
           
SWEDISH
           
TURKISH
           
UKRAINIAN
           
 
Method Summary
static OpenWeatherMap.Language valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OpenWeatherMap.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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ENGLISH

public static final OpenWeatherMap.Language ENGLISH

RUSSIAN

public static final OpenWeatherMap.Language RUSSIAN

ITALIAN

public static final OpenWeatherMap.Language ITALIAN

SPANISH

public static final OpenWeatherMap.Language SPANISH

UKRAINIAN

public static final OpenWeatherMap.Language UKRAINIAN

GERMAN

public static final OpenWeatherMap.Language GERMAN

PORTUGUESE

public static final OpenWeatherMap.Language PORTUGUESE

ROMANIAN

public static final OpenWeatherMap.Language ROMANIAN

POLISH

public static final OpenWeatherMap.Language POLISH

FINNISH

public static final OpenWeatherMap.Language FINNISH

DUTCH

public static final OpenWeatherMap.Language DUTCH

FRENCH

public static final OpenWeatherMap.Language FRENCH

BULGARIAN

public static final OpenWeatherMap.Language BULGARIAN

SWEDISH

public static final OpenWeatherMap.Language SWEDISH

CHINESE_TRADITIONAL

public static final OpenWeatherMap.Language CHINESE_TRADITIONAL

CHINESE_SIMPLIFIED

public static final OpenWeatherMap.Language CHINESE_SIMPLIFIED

TURKISH

public static final OpenWeatherMap.Language TURKISH

CROATIAN

public static final OpenWeatherMap.Language CROATIAN

CATALAN

public static final OpenWeatherMap.Language CATALAN
Method Detail

values

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

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

valueOf

public static OpenWeatherMap.Language valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name