ezvcard.property
Class Classification
java.lang.Object
ezvcard.property.VCardProperty
ezvcard.property.SimpleProperty<String>
ezvcard.property.TextProperty
ezvcard.property.Classification
- All Implemented Interfaces:
- Comparable<VCardProperty>
public class Classification
- extends TextProperty
Describes the sensitivity of the information in the vCard.
Code sample
VCard vcard = new VCard();
//sample values: PUBLIC, PRIVATE, CONFIDENTIAL
Classification classType = new Classification("PUBLIC");
vcard.setClassification(classType);
Property name: CLASS
Supported versions: 3.0
- Author:
- Michael Angstadt
Methods inherited from class ezvcard.property.VCardProperty |
addParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Classification
public Classification(String classValue)
- Creates a classification property.
- Parameters:
classValue
- the classification (e.g. "PUBLIC", "PRIVATE",
"CONFIDENTIAL")
_supportedVersions
public Set<VCardVersion> _supportedVersions()
- Description copied from class:
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.
- Overrides:
_supportedVersions
in class VCardProperty
- Returns:
- the vCard versions that support this property.
Copyright © 2012-2014 Michael Angstadt. All Rights Reserved.