Package com.jalios.jcms
Class ImageMetaDataExtractor
java.lang.Object
com.jalios.jcms.ImageMetaDataExtractor
- All Implemented Interfaces:
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.
- Author:
- Olivier Dedieu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ImageMetaDataExtractor
public ImageMetaDataExtractor()
-
-
Method Details
-
setFile
Description copied from interface:MetaDataExtractorSet the file to extract the metadata- Specified by:
setFilein interfaceMetaDataExtractor- Parameters:
file- the file to process
-
getMap
- Specified by:
getMapin interfaceMetaDataExtractor- Returns:
- a map of metadata
-