Class MultimediaMetadataExtractor

  • All Implemented Interfaces:
    IMetadataExtractor

    public class MultimediaMetadataExtractor
    extends java.lang.Object
    implements IMetadataExtractor
    Provides Video meta data information extraction. Extracting the following meta datas:
    • WIDTH
    • HEIGHT
    • FORMAT
    • DURATION
    Depends on Jave jar.
    Since:
    6.1.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void extractMetadata​(java.io.InputStream inputStream, java.lang.String contentType, FileMetadata fileMetadata)
      Extracts the meta data information from the given input stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultimediaMetadataExtractor

        public MultimediaMetadataExtractor()
    • Method Detail

      • extractMetadata

        public void extractMetadata​(java.io.InputStream inputStream,
                                    java.lang.String contentType,
                                    FileMetadata fileMetadata)
                             throws PortalException
        Description copied from interface: IMetadataExtractor
        Extracts the meta data information from the given input stream. The meta data information extracted is to be set in the given fileMetadata parameter.
        Specified by:
        extractMetadata in interface IMetadataExtractor
        Parameters:
        inputStream - the input stream source of meta data information.
        contentType - the content type of the file.
        fileMetadata - the meta data information to be updated.
        Throws:
        PortalException