Class IBMWatsonCaptionConverter

java.lang.Object
org.opencastproject.caption.converters.IBMWatsonCaptionConverter
All Implemented Interfaces:
org.opencastproject.caption.api.CaptionConverter

public class IBMWatsonCaptionConverter extends Object implements org.opencastproject.caption.api.CaptionConverter
  • Constructor Details

    • IBMWatsonCaptionConverter

      public IBMWatsonCaptionConverter()
  • Method Details

    • importCaption

      public List<org.opencastproject.caption.api.Caption> importCaption(InputStream inputStream, String language) throws org.opencastproject.caption.api.CaptionConverterException
      Specified by:
      importCaption in interface org.opencastproject.caption.api.CaptionConverter
      Throws:
      org.opencastproject.caption.api.CaptionConverterException
    • exportCaption

      public void exportCaption(OutputStream outputStream, List<org.opencastproject.caption.api.Caption> captions, String language) throws IOException
      Specified by:
      exportCaption in interface org.opencastproject.caption.api.CaptionConverter
      Throws:
      IOException
    • getLanguageList

      public String[] getLanguageList(InputStream inputStream) throws org.opencastproject.caption.api.CaptionConverterException
      Specified by:
      getLanguageList in interface org.opencastproject.caption.api.CaptionConverter
      Throws:
      org.opencastproject.caption.api.CaptionConverterException
    • getExtension

      public String getExtension()
      Specified by:
      getExtension in interface org.opencastproject.caption.api.CaptionConverter
    • getElementType

      public org.opencastproject.mediapackage.MediaPackageElement.Type getElementType()
      Specified by:
      getElementType in interface org.opencastproject.caption.api.CaptionConverter