
net.fortuna.ical4j.extensions.data.ExtendedPropertyFactorySupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ical4j-extensions Show documentation
Show all versions of ical4j-extensions Show documentation
Support for additional non-standard iCalendar objects
package net.fortuna.ical4j.extensions.data;
import net.fortuna.ical4j.data.DefaultPropertyFactorySupplier;
import net.fortuna.ical4j.extensions.property.*;
import net.fortuna.ical4j.model.Property;
import net.fortuna.ical4j.model.PropertyFactory;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Supplier;
public class ExtendedPropertyFactorySupplier implements Supplier>> {
@Override
public List> get() {
List> factories = new ArrayList<>(new DefaultPropertyFactorySupplier().get());
final List> extended =
Arrays.asList(
new CalStart.Factory(),
new LicLocation.Factory(),
new WrAlarmId.Factory(),
new WrCalDesc.Factory(),
new WrCalName.Factory(),
new WrRelCalId.Factory(),
new WrTimezone.Factory());
factories.addAll(extended);
return factories;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy