Package org.opencastproject.composer.api
Class EncodingProfileBuilder
java.lang.Object
org.opencastproject.composer.api.EncodingProfileBuilder
Provides a mechanism to transform
EncodingProfiles to and from xml.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic EncodingProfileBuilderReturns an instance of theEncodingProfileBuilder.Loads an encoding profile from the given input stream.Loads an encoding profile list from the given input stream.
-
Field Details
-
jaxbContext
protected javax.xml.bind.JAXBContext jaxbContext
-
-
Method Details
-
getInstance
Returns an instance of theEncodingProfileBuilder.- Returns:
- a factory
-
parseProfile
Loads an encoding profile from the given input stream.- Parameters:
in- the input stream- Returns:
- the encoding profile
- Throws:
Exception- if creating the profile fails
-
parseProfileList
Loads an encoding profile list from the given input stream.- Parameters:
in- the input stream- Returns:
- the encoding profile list
- Throws:
Exception- if creating the profile list fails
-