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 of Caption. Caption text is stored in array where each element represents one caption line.
  • Constructor Details

    • CaptionImpl

      public CaptionImpl(org.opencastproject.caption.api.Time startTime, org.opencastproject.caption.api.Time stopTime, String[] captionLines)
  • Method Details

    • getCaption

      public String[] getCaption()
      Specified by:
      getCaption in interface org.opencastproject.caption.api.Caption
    • getStartTime

      public org.opencastproject.caption.api.Time getStartTime()
      Specified by:
      getStartTime in interface org.opencastproject.caption.api.Caption
    • getStopTime

      public org.opencastproject.caption.api.Time getStopTime()
      Specified by:
      getStopTime in interface org.opencastproject.caption.api.Caption