ezvcard.types
Class MailerType
java.lang.Object
ezvcard.types.VCardType
ezvcard.types.TextType
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
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 |
NAME
public static final String NAME
- See Also:
- Constant Field Values
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")
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.