net.fortuna.ical4j.model.ComponentContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j Show documentation
Show all versions of ical4j Show documentation
A Java library for reading and writing iCalendar (*.ics) files
package net.fortuna.ical4j.model;
public interface ComponentContainer {
ComponentList getComponents();
default ComponentList getComponents(final String name) {
return getComponents().getComponents(name);
}
default C getComponent(final String name) {
return (C) getComponents().getComponent(name);
}
}