Class Mpeg7CaptionConverter

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

public class Mpeg7CaptionConverter extends Object implements org.opencastproject.caption.api.CaptionConverter
This is converter for Mpeg7 caption format.
  • Constructor Details

    • Mpeg7CaptionConverter

      public Mpeg7CaptionConverter()
  • 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
      See Also:
      • CaptionConverter.importCaption(java.io.InputStream, java.lang.String)
    • 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
      See Also:
      • CaptionConverter.getLanguageList(java.io.InputStream)
    • getExtension

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

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