lumis.portal.file.metadata
Class ImageMetadataExtractor

Package class diagram package ImageMetadataExtractor
java.lang.Object
  extended by lumis.portal.file.metadata.ImageMetadataExtractor
All Implemented Interfaces:
IMetadataExtractor

public class ImageMetadataExtractor
extends Object
implements IMetadataExtractor

Provides image meta data extraction information using FileParserManager. Extracting the following meta datas:

Since:
6.1.0

Constructor Summary
ImageMetadataExtractor()
           
 
Method Summary
 void extractMetadata(FileConfig fileConfig, String contentType, FileMetadata fileMetadata)
           
 void extractMetadata(File file, String contentType, FileMetadata fileMetadata)
          Extracts the meta data information from the given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageMetadataExtractor

public ImageMetadataExtractor()
Method Detail

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.