ezvcard.parameter
Class VersionedVCardParameter
java.lang.Object
ezvcard.parameter.VCardParameter
ezvcard.parameter.VersionedVCardParameter
- Direct Known Subclasses:
- AddressType, EmailType, Encoding, TelephoneType
public class VersionedVCardParameter
- extends VCardParameter
Represents a parameter whose values are supported by a variety of different
vCard versions.
- Author:
- Michael Angstadt
Method Summary |
boolean |
isSupported(VCardVersion version)
Determines if the parameter value is supported by the given vCard
version. |
supportedVersions
protected final Set<VCardVersion> supportedVersions
VersionedVCardParameter
public VersionedVCardParameter(String value,
VCardVersion... supportedVersions)
isSupported
public boolean isSupported(VCardVersion version)
- Determines if the parameter value is supported by the given vCard
version.
- Parameters:
version
- the vCard version
- Returns:
- true if it is supported, false if not
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.