| Package | Description |
|---|---|
| org.opencastproject.mediapackage | |
| org.opencastproject.mediapackage.track |
| Modifier and Type | Field and Description |
|---|---|
static Function<MediaPackage,List<Track>> |
MediaPackageSupport.Fn.getTracks |
static Function<Track,Boolean> |
MediaPackageSupport.Filters.hasAudio |
static Function<Track,Boolean> |
MediaPackageSupport.Filters.hasNoAudio |
static Function<Track,Boolean> |
MediaPackageSupport.Filters.hasNoVideo |
static Function<Track,Boolean> |
MediaPackageSupport.Filters.hasVideo |
static Function<MediaPackageElement,List<Track>> |
MediaPackageSupport.Filters.tracks |
| Modifier and Type | Method and Description |
|---|---|
Track |
MediaPackage.getTrack(String trackId)
Returns the track identified by
trackId or null if that track doesn't exists. |
Track |
MediaPackageImpl.getTrack(String trackId)
Returns the track identified by
trackId or null if that track doesn't exists. |
Track[] |
PublicationImpl.getTracks() |
Track[] |
Publication.getTracks()
Returns the tracks that are part of this publication.
|
Track[] |
MediaPackage.getTracks()
Returns the tracks that are part of this media package.
|
Track[] |
MediaPackageImpl.getTracks()
Returns the tracks that are part of this media package.
|
Track[] |
MediaPackage.getTracks(MediaPackageElementFlavor flavor)
Returns the tracks that are part of this media package and match the given flavor as defined in
Track. |
Track[] |
MediaPackageImpl.getTracks(MediaPackageElementFlavor flavor)
Returns the tracks that are part of this media package and match the given flavor as defined in
Track. |
Track[] |
MediaPackage.getTracks(MediaPackageElementFlavor flavor,
MediaPackageReference reference)
Returns the tracks that are part of this media package and are refering to the element identified by
reference. |
Track[] |
MediaPackageImpl.getTracks(MediaPackageElementFlavor flavor,
MediaPackageReference reference)
Returns the tracks that are part of this media package and are refering to the element identified by
reference. |
Track[] |
MediaPackage.getTracks(MediaPackageReference reference)
Returns the tracks that are part of this media package and are refering to the element identified by
reference. |
Track[] |
MediaPackageImpl.getTracks(MediaPackageReference reference)
Returns the tracks that are part of this media package and are refering to the element identified by
reference. |
Track[] |
MediaPackage.getTracks(MediaPackageReference reference,
boolean includeDerived)
Returns the tracks that are part of this media package and are refering to the element identified by
reference. |
Track[] |
MediaPackageImpl.getTracks(MediaPackageReference reference,
boolean includeDerived)
Returns the tracks that are part of this media package and are refering to the element identified by
reference. |
Track[] |
MediaPackage.getTracksByTag(String tag)
Returns the tracks that are tagged with the given tag or an empty array if no such tracks are found.
|
Track[] |
MediaPackageImpl.getTracksByTag(String tag)
Returns the tracks that are tagged with the given tag or an empty array if no such tracks are found.
|
Track[] |
MediaPackage.getTracksByTags(Collection<String> tags)
Returns the tracks that are tagged with any of the given tags or an empty array if no such elements are found.
|
Track[] |
MediaPackageImpl.getTracksByTags(Collection<String> tags)
Returns the tracks that are tagged with any of the given tags or an empty array if no such elements are found.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MediaPackage.add(Track track)
Adds a track to this media package, actually moving the underlying file in the filesystem.
|
void |
MediaPackageImpl.add(Track track) |
void |
PublicationImpl.addTrack(Track track) |
void |
Publication.addTrack(Track track)
Adds a track to this publication.
|
void |
MediaPackage.remove(Track track)
Removes the track from the media package.
|
void |
MediaPackageImpl.remove(Track track)
Removes the track from the media package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TrackImpl
This class is the base implementation for a media track, which itself is part of a media package, representing e.
|
| Modifier and Type | Method and Description |
|---|---|
Track |
TrackImpl.Adapter.unmarshal(TrackImpl mp) |
| Modifier and Type | Method and Description |
|---|---|
TrackImpl |
TrackImpl.Adapter.marshal(Track mp) |
Copyright © 2009–2020 Opencast Project. All rights reserved.