Package org.opencastproject.caption.impl
Class CaptionImpl
java.lang.Object
org.opencastproject.caption.impl.CaptionImpl
- All Implemented Interfaces:
org.opencastproject.caption.api.Caption
Implementation of
Caption. Caption text is stored in array where each element represents one caption line.-
Constructor Summary
ConstructorsConstructorDescriptionCaptionImpl(org.opencastproject.caption.api.Time startTime, org.opencastproject.caption.api.Time stopTime, String[] captionLines) -
Method Summary
Modifier and TypeMethodDescriptionString[]org.opencastproject.caption.api.Timeorg.opencastproject.caption.api.Time
-
Constructor Details
-
CaptionImpl
public CaptionImpl(org.opencastproject.caption.api.Time startTime, org.opencastproject.caption.api.Time stopTime, String[] captionLines)
-
-
Method Details
-
getCaption
- Specified by:
getCaptionin interfaceorg.opencastproject.caption.api.Caption
-
getStartTime
public org.opencastproject.caption.api.Time getStartTime()- Specified by:
getStartTimein interfaceorg.opencastproject.caption.api.Caption
-
getStopTime
public org.opencastproject.caption.api.Time getStopTime()- Specified by:
getStopTimein interfaceorg.opencastproject.caption.api.Caption
-