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