ezvcard.parameter
Class EmailType

java.lang.Object
  extended by ezvcard.parameter.VCardParameter
      extended by ezvcard.parameter.VersionedVCardParameter
          extended by ezvcard.parameter.EmailType

public class EmailType
extends VersionedVCardParameter

Represents the TYPE parameter of the Email properties.

Supported versions: 2.1, 3.0, 4.0

Author:
Michael Angstadt

Field Summary
static EmailType AOL
          Supported versions: 2.1 (suggested)
static EmailType APPLELINK
          Supported versions: 2.1 (suggested)
static EmailType ATTMAIL
          Supported versions: 2.1 (suggested)
static EmailType CIS
          Supported versions: 2.1 (suggested)
static EmailType EWORLD
          Supported versions: 2.1 (suggested)
static EmailType HOME
          Supported versions: 4.0
static EmailType IBMMAIL
          Supported versions: 2.1 (suggested)
static EmailType INTERNET
          Supported versions: 2.1, 3.0
static EmailType MCIMAIL
          Supported versions: 2.1 (suggested)
static EmailType POWERSHARE
          Supported versions: 2.1 (suggested)
static EmailType PREF
          Supported versions: 2.1, 3.0
static EmailType PRODIGY
          Supported versions: 2.1 (suggested)
static EmailType TLX
          Supported versions: 2.1 (suggested)
static EmailType WORK
          Supported versions: 4.0
static EmailType X400
          Supported versions: 2.1, 3.0
 
Fields inherited from class ezvcard.parameter.VersionedVCardParameter
supportedVersions
 
Fields inherited from class ezvcard.parameter.VCardParameter
value
 
Method Summary
static Collection<EmailType> all()
          Gets all of the parameter values that are defined as static constants in this class.
static EmailType find(String value)
          Searches for a parameter value that is defined as a static constant in this class.
static EmailType get(String value)
          Searches for a parameter value and creates one if it cannot be found.
 
Methods inherited from class ezvcard.parameter.VersionedVCardParameter
isSupported
 
Methods inherited from class ezvcard.parameter.VCardParameter
equals, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INTERNET

public static final EmailType INTERNET
Supported versions: 2.1, 3.0


X400

public static final EmailType X400
Supported versions: 2.1, 3.0


PREF

public static final EmailType PREF
Supported versions: 2.1, 3.0


AOL

public static final EmailType AOL
Supported versions: 2.1 (suggested)


APPLELINK

public static final EmailType APPLELINK
Supported versions: 2.1 (suggested)


ATTMAIL

public static final EmailType ATTMAIL
Supported versions: 2.1 (suggested)


CIS

public static final EmailType CIS
Supported versions: 2.1 (suggested)


EWORLD

public static final EmailType EWORLD
Supported versions: 2.1 (suggested)


IBMMAIL

public static final EmailType IBMMAIL
Supported versions: 2.1 (suggested)


MCIMAIL

public static final EmailType MCIMAIL
Supported versions: 2.1 (suggested)


POWERSHARE

public static final EmailType POWERSHARE
Supported versions: 2.1 (suggested)


PRODIGY

public static final EmailType PRODIGY
Supported versions: 2.1 (suggested)


TLX

public static final EmailType TLX
Supported versions: 2.1 (suggested)


HOME

public static final EmailType HOME
Supported versions: 4.0


WORK

public static final EmailType WORK
Supported versions: 4.0

Method Detail

find

public static EmailType 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 EmailType 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<EmailType> 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.