biweekly.parameter
Class Encoding
java.lang.Object
biweekly.parameter.EnumParameterValue
biweekly.parameter.Encoding
public class Encoding
- extends EnumParameterValue
Defines how a property value is encoded.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545 p.18-9
Method Summary |
static Encoding |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class. |
static Encoding |
get(String value)
Searches for a parameter value and creates one if it cannot be found. |
BASE64
public static final Encoding BASE64
_8BIT
public static final Encoding _8BIT
find
public static Encoding 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 Encoding 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
Copyright © 2013 Michael Angstadt. All Rights Reserved.