ezvcard.parameter
Class HobbyLevel
java.lang.Object
ezvcard.parameter.VCardParameter
ezvcard.parameter.HobbyLevel
public class HobbyLevel
- extends VCardParameter
Represents a LEVEL parameter for the Hobby
property.
Supported versions: 4.0
- Author:
- Michael Angstadt
- See Also:
- RFC 6715
Method Summary |
static Collection<HobbyLevel> |
all()
Gets all of the parameter values that are defined as static constants in
this class. |
static HobbyLevel |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class. |
static HobbyLevel |
get(String value)
Searches for a parameter value and creates one if it cannot be found. |
LOW
public static final HobbyLevel LOW
MEDIUM
public static final HobbyLevel MEDIUM
HIGH
public static final HobbyLevel HIGH
find
public static HobbyLevel find(String value)
- Searches for a parameter value that is defined as a static constant in
this class.
- Parameters:
value
- the parameter value
- Returns:
- the object or null if not found
get
public static HobbyLevel get(String value)
- Searches for a parameter value and creates one if it cannot be found. All
objects are guaranteed to be unique, so they can be compared with
==
equality.
- Parameters:
value
- the parameter value
- Returns:
- the object
all
public static Collection<HobbyLevel> all()
- Gets all of the parameter values that are defined as static constants in
this class.
- Returns:
- the parameter values
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.