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

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

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