@Deprecated public abstract class AbstractContentFactory<T> extends Object implements Serializable, Supplier<List<T>>
Modifier and Type | Field and Description |
---|---|
protected ServiceLoader |
factoryLoader
Deprecated.
|
Constructor and Description |
---|
AbstractContentFactory(ServiceLoader factoryLoader)
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowIllegalNames()
Deprecated.
|
protected abstract boolean |
factorySupports(T factory,
String key)
Deprecated.
|
List<T> |
get()
Deprecated.
|
protected T |
getFactory(String key)
Deprecated.
|
protected void |
registerExtendedFactory(String key,
T factory)
Deprecated.
Define extensions in META-INF/services/net.fortuna.ical4j.model.[Type]Factory
|
protected transient ServiceLoader factoryLoader
public AbstractContentFactory(ServiceLoader factoryLoader)
@Deprecated protected final void registerExtendedFactory(String key, T factory)
protected final T getFactory(String key)
key
- a factory keyIllegalArgumentException
- if the specified key is blankprotected boolean allowIllegalNames()