Module org.jpo

Class ExifInfo

java.lang.Object
org.jpo.datamodel.ExifInfo

public class ExifInfo extends Object
Class that interacts with Drew Noake's library and extracts the Exif information
  • Constructor Details

    • ExifInfo

      public ExifInfo(File pictureFile)
      Constructor to create the object. Call
      Parameters:
      pictureFile - The URL of the picture
      See Also:
  • Method Details

    • getCamera

      public String getCamera()
      Returns the camera brand
      Returns:
      the camera brand
    • getLens

      public String getLens()
      Returns the lens used to take the picture
      Returns:
      the lens used to take the picture
    • getAperture

      public String getAperture()
      Returns the aperture used to take the picture
      Returns:
      Returns the aperture used to take the picture
    • getShutterSpeed

      public String getShutterSpeed()
      Returns the shutter speed used to take the picture
      Returns:
      Returns the shutter speed used to take the picture
    • getFocalLength

      public String getFocalLength()
      Returns the focal length used in the lens
      Returns:
      Returns the focal length used in the lens
    • getIso

      public String getIso()
      Returns the ISO sensitivity used when taking the picture
      Returns:
      Returns the ISO sensitivity used when taking the picture
    • getLatLng

      public Point2D.Double getLatLng()
      Returns the Latitude and Longitude
      Returns:
      the Latitude and Longitude
    • getExifWidth

      public String getExifWidth()
      Returns the width as stored in the Exif
      Returns:
      Returns the width as stored in the Exif
    • getExifHeight

      public String getExifHeight()
      Returns the height as stored in the Exif
      Returns:
      Returns the height as stored in the Exif
    • getRotation

      public int getRotation()
      Returns the rotation in the Exif
      Returns:
      the rotation in the Exif
    • decodeExifTags

      public void decodeExifTags()
      This method decodes the Exif tags and stores the data
    • getAllTags

      public String getAllTags()
      This method returns all the tags as they were decoded in a single string
      Returns:
      Returns the tags as they were decoded
    • getComprehensivePhotographicSummary

      public String getComprehensivePhotographicSummary()
      This method returns a comprehensive summary of the photographic settings
      Returns:
      Returns a comprehensive summary of the photographic settings
    • getCreateDateTime

      public String getCreateDateTime()
      Returns the time the picture was created.
      Returns:
      the createDateTime