net.fortuna.ical4j.vcard.VCardParameterFactorySupplier Maven / Gradle / Ivy
package net.fortuna.ical4j.vcard;
import net.fortuna.ical4j.model.Parameter;
import net.fortuna.ical4j.model.ParameterFactory;
import net.fortuna.ical4j.vcard.parameter.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Supplier;
public class VCardParameterFactorySupplier implements Supplier>> {
@Override
public List> get() {
List> rfc6350 = Arrays.asList(new Altid.Factory(),
new Calscale.Factory(), new Encoding.Factory(), new Fmttype.Factory(),
new Geo.Factory(), new Language.Factory(), new Pid.Factory(), new Pref.Factory(),
new SortAs.Factory(), new Type.Factory(), new Tz.Factory(), new Value.Factory(),
new Version.Factory());
List> factories = new ArrayList<>(rfc6350);
return factories;
}
}