Package org.opencastproject.caption.impl
Class CaptionImpl
- java.lang.Object
-
- org.opencastproject.caption.impl.CaptionImpl
-
- All Implemented Interfaces:
org.opencastproject.caption.api.Caption
public class CaptionImpl extends Object implements org.opencastproject.caption.api.Caption
Implementation ofCaption
. Caption text is stored in array where each element represents one caption line.
-
-
Constructor Summary
Constructors Constructor Description CaptionImpl(org.opencastproject.caption.api.Time startTime, org.opencastproject.caption.api.Time stopTime, String[] captionLines)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getCaption()
org.opencastproject.caption.api.Time
getStartTime()
org.opencastproject.caption.api.Time
getStopTime()
-
-
-
Constructor Detail
-
CaptionImpl
public CaptionImpl(org.opencastproject.caption.api.Time startTime, org.opencastproject.caption.api.Time stopTime, String[] captionLines)
-
-
Method Detail
-
getCaption
public String[] getCaption()
- Specified by:
getCaption
in interfaceorg.opencastproject.caption.api.Caption
-
getStartTime
public org.opencastproject.caption.api.Time getStartTime()
- Specified by:
getStartTime
in interfaceorg.opencastproject.caption.api.Caption
-
getStopTime
public org.opencastproject.caption.api.Time getStopTime()
- Specified by:
getStopTime
in interfaceorg.opencastproject.caption.api.Caption
-
-