Class MetadataExtractor.ExifSubIFDDirectory

    • 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
      • _tagNameMap

        private final java.util.HashMap<java.lang.Integer,​java.lang.String> _tagNameMap
    • Constructor Detail

      • ExifSubIFDDirectory

        public ExifSubIFDDirectory()
    • Method Detail

      • getDateModified

        public java.util.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 java.util.Date getDateModified​(java.util.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 java.util.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 java.util.Date getDateOriginal​(java.util.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 java.util.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 java.util.Date getDateDigitized​(java.util.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
      • getTimeZone

        private java.util.TimeZone getTimeZone​(int tagType)