Class ImageMetaDataExtractor

  • All Implemented Interfaces:
    MetaDataExtractor

    public class ImageMetaDataExtractor
    extends java.lang.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: 79710 $
    Author:
    Olivier Dedieu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getMap()  
      void setFile​(java.io.File file)
      Set the file to extract the metadata
      • 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

      • setFile

        public void setFile​(java.io.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 java.util.Map<java.lang.String,​java.lang.String> getMap()
        Specified by:
        getMap in interface MetaDataExtractor
        Returns:
        a map of metadata