Package org.opencastproject.search.api
Class MediaSegmentPreviewImpl
- java.lang.Object
-
- org.opencastproject.search.api.MediaSegmentPreviewImpl
-
- All Implemented Interfaces:
MediaSegmentPreview
public class MediaSegmentPreviewImpl extends Object implements MediaSegmentPreview
Part of a search result that models the preview url for a video segment.
-
-
Constructor Summary
Constructors Constructor Description MediaSegmentPreviewImpl()
Needed by JAXB.MediaSegmentPreviewImpl(String url, String reference)
Creates a new preview url.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReference()
Returns the reference to the source track that was used to produce the segment.String
getUrl()
Returns the url to the preview image.
-
-
-
Method Detail
-
getReference
public String getReference()
Returns the reference to the source track that was used to produce the segment.- Specified by:
getReference
in interfaceMediaSegmentPreview
- Returns:
- the reference to the source track
- See Also:
MediaSegmentPreview.getReference()
-
getUrl
public String getUrl()
Returns the url to the preview image.- Specified by:
getUrl
in interfaceMediaSegmentPreview
- Returns:
- the url
- See Also:
MediaSegmentPreview.getUrl()
-
-