com.jalios.jcms
Class ImageMetaDataExtractor
java.lang.Object
com.jalios.jcms.ImageMetaDataExtractor
- All Implemented Interfaces:
- MetaDataExtractor
public class ImageMetaDataExtractor
- extends Object
- implements MetaDataExtractor
This class extracts metadata of image files. For basic info (width,
height, ...) it uses a repackaged implementation of ImageInfo. For
JPEG files, Digital Camera metadata set (EXIF) a extracted with the
Drew's metadata-extractor library.
- Version:
- $Revision: 20348 $
- Author:
- Olivier Dedieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
ImageMetaDataExtractor
public ImageMetaDataExtractor()
setFile
public void setFile(File file)
- Description copied from interface:
MetaDataExtractor
- Set the file to extract the metadata
- Specified by:
setFile
in interface MetaDataExtractor
- Parameters:
file
- the file to process
getMap
public Map getMap()
- Specified by:
getMap
in interface MetaDataExtractor
- Returns:
- a map of metadata
Copyright © 2001-2010 Jalios SA. All Rights Reserved.