lumis.portal.file.metadata
Class MultimediaMetadataExtractor
java.lang.Object
lumis.portal.file.metadata.MultimediaMetadataExtractor
- All Implemented Interfaces:
- IMetadataExtractor
public class MultimediaMetadataExtractor
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultimediaMetadataExtractor
public MultimediaMetadataExtractor()
extractMetadata
public void extractMetadata(FileConfig fileConfig,
String contentType,
FileMetadata fileMetadata)
throws PortalException
- Throws:
PortalException
extractMetadata
public void extractMetadata(File file,
String contentType,
FileMetadata fileMetadata)
throws PortalException
- Description copied from interface:
IMetadataExtractor
- Extracts the meta data information from the given file.
The meta data information extracted is to be set in the given
fileMetadata
parameter.
- Specified by:
extractMetadata
in interface IMetadataExtractor
- Parameters:
file
- the source of meta data information.contentType
- the content type of the file.fileMetadata
- the meta data information to be updated.
- Throws:
PortalException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.