ezvcard.types
Class MailerType

java.lang.Object
  extended by ezvcard.types.VCardType
      extended by ezvcard.types.TextType
          extended by ezvcard.types.MailerType
All Implemented Interfaces:
Comparable<VCardType>

public class MailerType
extends TextType

The email client that the person uses.

Code sample

 VCard vcard = new VCard();
 MailerType mailer = new MailerType("Thunderbird");
 vcard.setMailer(mailer);
 

Property name: MAILER

Supported versions: 2.1, 3.0

Author:
Michael Angstadt

Field Summary
static String NAME
           
 
Fields inherited from class ezvcard.types.TextType
value
 
Fields inherited from class ezvcard.types.VCardType
group, subTypes, typeName
 
Constructor Summary
MailerType()
          Creates an empty mailer property.
MailerType(String emailClient)
          Creates a mailer property.
 
Method Summary
 VCardVersion[] getSupportedVersions()
          Gets the vCard versions that support this type.
 
Methods inherited from class ezvcard.types.TextType
doMarshalJson, doMarshalText, doMarshalXml, doUnmarshalHtml, doUnmarshalJson, doUnmarshalText, doUnmarshalXml, getValue, setValue
 
Methods inherited from class ezvcard.types.VCardType
compareTo, doMarshalSubTypes, getGroup, getQName, getSubTypes, getTypeName, marshalJson, marshalSubTypes, marshalText, marshalXml, setGroup, unmarshalHtml, unmarshalJson, unmarshalText, unmarshalXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

MailerType

public MailerType()
Creates an empty mailer property.


MailerType

public MailerType(String emailClient)
Creates a mailer property.

Parameters:
emailClient - the name of the email client (e.g. "Thunderbird")
Method Detail

getSupportedVersions

public VCardVersion[] getSupportedVersions()
Description copied from class: VCardType
Gets the vCard versions that support this type.

Overrides:
getSupportedVersions in class VCardType
Returns:
the vCard versions that support this type.


Copyright © 2012-2013 Michael Angstadt. All Rights Reserved.