Package de.sfuhrm.radiobrowser4j
Enum FieldName
- java.lang.Object
-
- java.lang.Enum<FieldName>
-
- de.sfuhrm.radiobrowser4j.FieldName
-
- All Implemented Interfaces:
Serializable,Comparable<FieldName>
public enum FieldName extends Enum<FieldName>
The field name for ordering.- Author:
- Stephan Fuhrmann
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BITRATEThe station bitrate.CLICKCOUNTThe station click count.CLICKTIMESTAMPThe click time stamp.CLICKTRENDThe station click trend.CODECThe station codec.COUNTRYThe station country.FAVICONThe station favicon.HOMEPAGEThe station homepage.LANGUAGEThe station language.LASTCHECKOKWhether last check was ok.LASTCHECKTIMELast check time.NAMEThe station name.STATEThe station state.TAGSThe station tags.URLThe station url.VOTESThe station votes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FieldNamevalueOf(String name)Returns the enum constant of this type with the specified name.static FieldName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final FieldName NAME
The station name.- See Also:
Station#getName()
-
URL
public static final FieldName URL
The station url.- See Also:
Station#getUrl()
-
HOMEPAGE
public static final FieldName HOMEPAGE
The station homepage.- See Also:
Station#getHomepage()
-
FAVICON
public static final FieldName FAVICON
The station favicon.- See Also:
Station#getFavicon()
-
TAGS
public static final FieldName TAGS
The station tags.- See Also:
Station#getTagList()
-
COUNTRY
public static final FieldName COUNTRY
The station country.- See Also:
Station#getCountry()
-
STATE
public static final FieldName STATE
The station state.- See Also:
Station#getState()
-
LANGUAGE
public static final FieldName LANGUAGE
The station language.- See Also:
Station.getLanguage()
-
VOTES
public static final FieldName VOTES
The station votes.- See Also:
Station#getVotes()
-
CODEC
public static final FieldName CODEC
The station codec.- See Also:
Station#getCodec()
-
BITRATE
public static final FieldName BITRATE
The station bitrate.- See Also:
Station#getBitrate()
-
LASTCHECKOK
public static final FieldName LASTCHECKOK
Whether last check was ok.- See Also:
Station#getLastcheckok()
-
LASTCHECKTIME
public static final FieldName LASTCHECKTIME
Last check time.- See Also:
Station#getLastchecktime()
-
CLICKTIMESTAMP
public static final FieldName CLICKTIMESTAMP
The click time stamp.- See Also:
Station#getClicktimestamp()
-
CLICKCOUNT
public static final FieldName CLICKCOUNT
The station click count.- See Also:
Station#getClickcount()
-
CLICKTREND
public static final FieldName CLICKTREND
The station click trend.- See Also:
Station#getClicktrend()
-
-
Method Detail
-
values
public static FieldName[] 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 (FieldName c : FieldName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldName 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 nameNullPointerException- if the argument is null
-
-