net.fortuna.ical4j.vcard.AbstractFactory 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 java.util.Arrays;
import java.util.List;
/**
* Created by fortuna on 23/09/14.
*
* @deprecated use {@link net.fortuna.ical4j.model.Content.Factory} instead
*/
@Deprecated
public abstract class AbstractFactory {
private final List supportedIds;
public AbstractFactory(String... supportedIds) {
this.supportedIds = Arrays.asList(supportedIds);
}
public boolean supports(String id) {
return supportedIds.contains(id);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy