net.fortuna.ical4j.vcard.CommunicationsPropertyAccessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j-vcard Show documentation
Show all versions of ical4j-vcard Show documentation
Support for the vCard specification
The newest version!
package net.fortuna.ical4j.vcard;
import net.fortuna.ical4j.model.PropertyContainer;
import net.fortuna.ical4j.vcard.property.Email;
import net.fortuna.ical4j.vcard.property.Impp;
import net.fortuna.ical4j.vcard.property.Lang;
import net.fortuna.ical4j.vcard.property.Telephone;
import java.util.List;
public interface CommunicationsPropertyAccessor extends PropertyContainer {
default List getTelephones() {
return getProperties(PropertyName.TEL.toString());
}
default List getEmails() {
return getProperties(PropertyName.EMAIL.toString());
}
default List getImpps() {
return getProperties(PropertyName.IMPP.toString());
}
default List getLangs() {
return getProperties(PropertyName.LANG.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy