ezvcard.parameters
Class EncodingParameter

java.lang.Object
  extended by ezvcard.parameters.VCardParameter
      extended by ezvcard.parameters.EncodingParameter

public class EncodingParameter
extends VCardParameter

Represents the "ENCODING" sub type.

vCard versions: 2.1, 3.0

Author:
George El-Haddad Mar 10, 2010, Michael Angstadt

Field Summary
static EncodingParameter _7BIT
          vCard versions: 2.1
static EncodingParameter _8BIT
          vCard versions: 2.1
static EncodingParameter B
          vCard versions: 3.0
static EncodingParameter BASE64
          vCard versions: 2.1
static String NAME
           
static EncodingParameter QUOTED_PRINTABLE
          vCard versions: 2.1
 
Fields inherited from class ezvcard.parameters.VCardParameter
name, value
 
Constructor Summary
EncodingParameter(String value)
          Use of this constructor is discouraged and should only be used for defining non-standard ENCODINGs.
 
Method Summary
static EncodingParameter valueOf(String value)
          Searches the static objects in this class for one that has a certain type value.
 
Methods inherited from class ezvcard.parameters.VCardParameter
all, equals, findByValue, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

QUOTED_PRINTABLE

public static final EncodingParameter QUOTED_PRINTABLE
vCard versions: 2.1


BASE64

public static final EncodingParameter BASE64
vCard versions: 2.1


_8BIT

public static final EncodingParameter _8BIT
vCard versions: 2.1


_7BIT

public static final EncodingParameter _7BIT
vCard versions: 2.1


B

public static final EncodingParameter B
vCard versions: 3.0

Constructor Detail

EncodingParameter

public EncodingParameter(String value)
Use of this constructor is discouraged and should only be used for defining non-standard ENCODINGs. Please use one of the predefined static objects.

Parameters:
value - the type value (e.g. "b")
Method Detail

valueOf

public static EncodingParameter valueOf(String value)
Searches the static objects in this class for one that has a certain type value.

Parameters:
value - the type value to search for (e.g. "b")
Returns:
the object or null if not found


Copyright © 2012-2013. All Rights Reserved.