public class Mailer extends TextProperty
Defines the email client that the person uses.
Code sample
VCard vcard = new VCard(); Mailer mailer = new Mailer("Thunderbird"); vcard.setMailer(mailer);
Property name: MAILER
Supported versions: 2.1, 3.0
value
group, parameters
Constructor and Description |
---|
Mailer(String emailClient)
Creates a mailer property.
|
Modifier and Type | Method and Description |
---|---|
Set<VCardVersion> |
_supportedVersions()
Gets the vCard versions that support this property.
|
_validate, getValue, setValue
addParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validate
public Mailer(String emailClient)
emailClient
- the name of the email client (e.g. "Thunderbird")public Set<VCardVersion> _supportedVersions()
VCardProperty
Gets the vCard versions that support this property.
This method should be overridden by child classes if the property does not support all vCard versions. The default implementation of this method returns all vCard versions.
_supportedVersions
in class VCardProperty
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.