All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.fortuna.ical4j.vcard.CommunicationsPropertyAccessor Maven / Gradle / Ivy

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