Package 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
- Since:
- 6.1.0
- Version:
- $Revision: 16814 $ $Date: 2015-01-23 11:33:18 -0200 (Fri, 23 Jan 2015) $
-
-
Constructor Summary
Constructors Constructor Description MultimediaMetadataExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
extractMetadata(File file, String contentType, FileMetadata fileMetadata)
void
extractMetadata(InputStream inputStream, String contentType, FileMetadata fileMetadata)
Extracts the meta data information from the given input stream.
-
-
-
Method Detail
-
extractMetadata
public void extractMetadata(InputStream inputStream, 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 givenfileMetadata
parameter.- Specified by:
extractMetadata
in interfaceIMetadataExtractor
- 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
-
extractMetadata
public void extractMetadata(File file, String contentType, FileMetadata fileMetadata) throws PortalException
- Throws:
PortalException
-
-