Class ExifSubIFDDirectory


public class ExifSubIFDDirectory extends ExifDirectoryBase
Describes Exif tags from the SubIFD directory.
  • Field Details

    • TAG_INTEROP_OFFSET

      public static final int TAG_INTEROP_OFFSET
      This tag is a pointer to the Exif Interop IFD.
      See Also:
  • Constructor Details

    • ExifSubIFDDirectory

      public ExifSubIFDDirectory()
  • Method Details

    • getName

      public String getName()
      Description copied from class: Directory
      Provides the name of the directory, for display purposes. E.g. Exif
      Specified by:
      getName in class Directory
      Returns:
      the name of the directory
    • getDateModified

      public Date getDateModified()
      Parses the date/time tag, the subsecond tag and the time offset tag to obtain a single Date object with milliseconds representing the date and time when this image was modified. If the time offset tag does not exist, attempts will be made to parse the values as though it is in the GMT TimeZone.
      Returns:
      A Date object representing when this image was modified, if possible, otherwise null
    • getDateModified

      public Date getDateModified(TimeZone timeZone)
      Parses the date/time tag, the subsecond tag and the time offset tag to obtain a single Date object with milliseconds representing the date and time when this image was modified. If the time offset tag does not exist, attempts will be made to parse the values as though it is in the TimeZone represented by the timeZone parameter (if it is non-null).
      Parameters:
      timeZone - the time zone to use
      Returns:
      A Date object representing when this image was modified, if possible, otherwise null
    • getDateOriginal

      public Date getDateOriginal()
      Parses the date/time tag, the subsecond tag and the time offset tag to obtain a single Date object with milliseconds representing the date and time when this image was captured. If the time offset tag does not exist, attempts will be made to parse the values as though it is in the GMT TimeZone.
      Returns:
      A Date object representing when this image was captured, if possible, otherwise null
    • getDateOriginal

      public Date getDateOriginal(TimeZone timeZone)
      Parses the date/time tag, the subsecond tag and the time offset tag to obtain a single Date object with milliseconds representing the date and time when this image was captured. If the time offset tag does not exist, attempts will be made to parse the values as though it is in the TimeZone represented by the timeZone parameter (if it is non-null).
      Parameters:
      timeZone - the time zone to use
      Returns:
      A Date object representing when this image was captured, if possible, otherwise null
    • getDateDigitized

      public Date getDateDigitized()
      Parses the date/time tag, the subsecond tag and the time offset tag to obtain a single Date object with milliseconds representing the date and time when this image was digitized. If the time offset tag does not exist, attempts will be made to parse the values as though it is in the GMT TimeZone.
      Returns:
      A Date object representing when this image was digitized, if possible, otherwise null
    • getDateDigitized

      public Date getDateDigitized(TimeZone timeZone)
      Parses the date/time tag, the subsecond tag and the time offset tag to obtain a single Date object with milliseconds representing the date and time when this image was digitized. If the time offset tag does not exist, attempts will be made to parse the values as though it is in the TimeZone represented by the timeZone parameter (if it is non-null).
      Parameters:
      timeZone - the time zone to use
      Returns:
      A Date object representing when this image was digitized, if possible, otherwise null