public final class MediaPackageBuilderFactory extends Object
newInstance() to obtain a
reference to a concrete implementation of a MediaPackageBuilderFactory. This instance can then be used
to create or load media packages.
The factory can be configured by specifying the concrete implementation class through the system property
org.opencastproject.mediapackage.builder.
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME
Name of the system property
|
| Modifier and Type | Method and Description |
|---|---|
static MediaPackageBuilderFactory |
newInstance()
Returns an instance of a MediaPackageBuilderFactory.
|
MediaPackageBuilder |
newMediaPackageBuilder()
Factory method that returns an instance of a media package builder.
|
public static final String PROPERTY_NAME
public static MediaPackageBuilderFactory newInstance() throws ConfigurationException
ConfigurationException - if the factory cannot be instantiatedpublic MediaPackageBuilder newMediaPackageBuilder() throws ConfigurationException
It uses the following ordered lookup procedure to determine which implementation of the MediaPackageBuilder
interface to use:
org.opencastproject.mediapackage.builder system propertyConfigurationException - If the builder cannot be instantiatedCopyright © 2009–2020 Opencast Project. All rights reserved.