Uses of Class
org.opencastproject.mediapackage.MediaPackageException
Packages that use MediaPackageException
Package
Description
-
Uses of MediaPackageException in org.opencastproject.mediapackage
Methods in org.opencastproject.mediapackage that return MediaPackageExceptionMethods in org.opencastproject.mediapackage that throw MediaPackageExceptionModifier and TypeMethodDescriptionMediaPackageBuilder.createNew()Creates a new media package in the temporary directory defined by the java runtime propertyjava.io.tmpdir.Creates a new media package in the temporary directory defined by the java runtime propertyjava.io.tmpdir.AdaptivePlaylist.fixReferences(List<Track> tracks, File mpDir) Fix the playlist references in a publication.static StringMediaPackageElementParser.getArrayAsXml(Collection<? extends MediaPackageElement> elements) Serializes media package element list to a string.static StringMediaPackageParser.getArrayAsXml(List<MediaPackage> mediaPackages) Serializes media package list to a string.static List<? extends MediaPackageElement> MediaPackageElementParser.getArrayFromXml(String xml) Parses the serialized media package element list.static List<MediaPackage> MediaPackageParser.getArrayFromXml(String xml) Parses the serialized media package list.static StringMediaPackageElementParser.getAsXml(MediaPackageElement element) Serializes the media package element to a string.static DocumentMediaPackageParser.getAsXml(MediaPackage mediaPackage, MediaPackageSerializer serializer) Serializes the media package to aDocument.static MediaPackageElementMediaPackageElementParser.getFromXml(String xml) Parses the serialized media package element and returns its object representation.static MediaPackageMediaPackageParser.getFromXml(String xml) Parses the media package and returns its object representation.MediaPackageBuilder.loadFromXml(InputStream is) Loads a media package from the manifest.MediaPackageBuilder.loadFromXml(String xml) Loads a media package from the manifest.MediaPackageBuilder.loadFromXml(Node xml) Loads a media package from the manifest.MediaPackageBuilderImpl.loadFromXml(InputStream is) Loads a media package from the manifest.MediaPackageBuilderImpl.loadFromXml(String xml) Loads a media package from the manifest.MediaPackageBuilderImpl.loadFromXml(Node xml) static MediaPackageMediaPackageSupport.merge(MediaPackage dest, MediaPackage src, MediaPackageSupport.MergeMode mode) Merges the contents of media package located atsourceDirinto the media package located attargetDir.AdaptivePlaylist.HLSMediaPackageCheck.rewriteHLS(MediaPackage mp, BiFunction<File, Track, Track> replaceTrackFileInWS, Function<Track, Void> removeFromWS) Rewrite the playlist file from master on down, this has to be done in multiple steps because the act of putting a file into a collection changes the path and new path is not known in advance.AbstractMediaPackageElement.toManifest(Document document, MediaPackageSerializer serializer) ManifestContributor.toManifest(Document document, MediaPackageSerializer serializer) This method returns an XML serialization of the object to be stored in the media package manifest.XMLCatalogImpl.toManifest(Document document, MediaPackageSerializer serializer) static MediaPackageImplMediaPackageImpl.valueOf(InputStream xml) Reads the media package from the input stream.static MediaPackageImplUnmarshals XML representation of a MediaPackage via JAXB.static MediaPackageImplReads the media package from an xml node.voidAbstractMediaPackageElement.verify()voidMediaPackage.verify()Verifies the media package consistency by checking the media package elements for mimetypes and checksums.voidMediaPackageElement.verify()Verifies the integrity of the media package element.voidMediaPackageImpl.verify()Constructors in org.opencastproject.mediapackage with parameters of type MediaPackageExceptionModifierConstructorDescriptionMediaPackageRuntimeException(MediaPackageException wrappedException) Creates a new media package runtime exception with the specified wrapped exception.Constructors in org.opencastproject.mediapackage that throw MediaPackageException -
Uses of MediaPackageException in org.opencastproject.mediapackage.track
Methods in org.opencastproject.mediapackage.track that throw MediaPackageExceptionModifier and TypeMethodDescriptionTrackImpl.toManifest(Document document, MediaPackageSerializer serializer) -
Uses of MediaPackageException in org.opencastproject.security.api
Methods in org.opencastproject.security.api that throw MediaPackageExceptionModifier and TypeMethodDescriptionAuthorizationService.setAcl(MediaPackage mp, AclScope scope, AccessControlList acl) Attaches the provided policies to a media package as a XACML attachment, replacing any previous policy element of the same scope.