Class ExifReader

java.lang.Object
zleurtor.scanmanager.model.ExifReader

public class ExifReader extends Object
A class to read Exif files (jpeg with metadata). See { @link https://www.media.mit.edu/pia/Research/deepview/exif.html }.
Author:
Zleurtor
  • Constructor Details

    • ExifReader

      public ExifReader(File theFile) throws IOException
      Construct a new Exif reader for the specified file.
      Parameters:
      theFile - The file to read.
      Throws:
      IOException - If an I/O error occurs or if the consistency of the file is not validated.
  • Method Details

    • getThumbnail

      public byte[] getThumbnail()
      Returns the image thumbnail (if any, null otherwise).
      Returns:
      The image thumbnail (if any, null otherwise).
    • toString

      public final String toString()
      Overrides:
      toString in class Object