com.oopitis.weather.owm
Enum OwmQueryHint.Language

java.lang.Object
  extended by java.lang.Enum<OwmQueryHint.Language>
      extended by com.oopitis.weather.owm.OwmQueryHint.Language
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OwmQueryHint.Language>
Enclosing class:
OwmQueryHint

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

Languages that Open Weather Map supports.


Enum Constant Summary
bg
          Bulgarian.
de
          German.
en
          English.
fi
          Finnish.
fr
          French.
it
          Italian.
nl
          Dutch.
pl
          Polish.
pt
          Portuguese.
ro
          Romanian.
ru
          Russian.
se
          Swedish.
sp
          Spanish.
tr
          Turkish.
ua
          Ukrainian.
zh_cn
          Chinese Simplified.
zh_tw
          Chinese Traditional.
 
Method Summary
static OwmQueryHint.Language valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OwmQueryHint.Language[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

en

public static final OwmQueryHint.Language en
English.


ru

public static final OwmQueryHint.Language ru
Russian.


it

public static final OwmQueryHint.Language it
Italian.


sp

public static final OwmQueryHint.Language sp
Spanish.


ua

public static final OwmQueryHint.Language ua
Ukrainian.


de

public static final OwmQueryHint.Language de
German.


pt

public static final OwmQueryHint.Language pt
Portuguese.


ro

public static final OwmQueryHint.Language ro
Romanian.


pl

public static final OwmQueryHint.Language pl
Polish.


fi

public static final OwmQueryHint.Language fi
Finnish.


nl

public static final OwmQueryHint.Language nl
Dutch.


fr

public static final OwmQueryHint.Language fr
French.


bg

public static final OwmQueryHint.Language bg
Bulgarian.


se

public static final OwmQueryHint.Language se
Swedish.


zh_tw

public static final OwmQueryHint.Language zh_tw
Chinese Traditional.


zh_cn

public static final OwmQueryHint.Language zh_cn
Chinese Simplified.


tr

public static final OwmQueryHint.Language tr
Turkish.

Method Detail

values

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

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

valueOf

public static OwmQueryHint.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
java.lang.NullPointerException - if the argument is null