Class ExifSubIFDDirectory


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

      • TAG_INTEROP_OFFSET

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

      • ExifSubIFDDirectory

        public ExifSubIFDDirectory()
    • Method Detail

      • getName

        public java.lang.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
      • getDateOriginal

        public java.util.Date getDateOriginal()
        Parses the date/time tag and the subsecond tag to obtain a single Date object with milliseconds representing the date and time when this image was captured. 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 java.util.Date getDateOriginal​(java.util.TimeZone timeZone)
        Parses the date/time tag and the subsecond tag to obtain a single Date object with milliseconds representing the date and time when this image was captured. 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 java.util.Date getDateDigitized()
        Parses the date/time tag and the subsecond tag to obtain a single Date object with milliseconds representing the date and time when this image was digitized. 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 java.util.Date getDateDigitized​(java.util.TimeZone timeZone)
        Parses the date/time tag and the subsecond tag to obtain a single Date object with milliseconds representing the date and time when this image was digitized. 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