public final class VCard extends Object implements Serializable
Constructor and Description |
---|
VCard()
Default constructor.
|
VCard(List<Property> properties) |
Modifier and Type | Method and Description |
---|---|
List<Property> |
getExtendedProperties(String name)
Returns a list of non-standard properties for the VCard instance with a matching name.
|
Property |
getExtendedProperty(String name)
Returns the first non-standard property found matching the specified name.
|
List<Property> |
getProperties()
Returns a reference to the list of properties for the VCard instance.
|
List<Property> |
getProperties(Property.Id id)
Returns a list of properties for the VCard instance with a matching identifier.
|
Property |
getProperty(Property.Id id)
Returns the first property found matching the specified identifier.
|
String |
toString() |
void |
validate() |
public List<Property> getProperties()
public List<Property> getProperties(Property.Id id)
id
- a property identifierpublic Property getProperty(Property.Id id)
id
- a property identifierpublic List<Property> getExtendedProperties(String name)
name
- a non-standard property namepublic Property getExtendedProperty(String name)
name
- a non-standard property namepublic void validate() throws net.fortuna.ical4j.model.ValidationException
net.fortuna.ical4j.model.ValidationException
- where validation failsCopyright © 2008-2012 Micronode. All Rights Reserved.