Class MetadataExtractor.IptcDirectory

  • Enclosing class:
    MetadataExtractor

    public class MetadataExtractor.IptcDirectory
    extends MetadataExtractor.Directory
    Describes tags used by the International Press Telecommunications Council (IPTC) metadata format.
    Author:
    Drew Noakes https://drewnoakes.com
    • Constructor Detail

      • IptcDirectory

        public IptcDirectory()
    • Method Detail

      • getKeywords

        public java.util.List<java.lang.String> getKeywords()
        Returns any keywords contained in the IPTC data. This value may be null.
      • getDateSent

        public java.util.Date getDateSent()
        Parses the Date Sent tag and the Time Sent tag to obtain a single Date object representing the date and time when the service sent this image.
        Returns:
        A Date object representing when the service sent this image, if possible, otherwise null
      • getReleaseDate

        public java.util.Date getReleaseDate()
        Parses the Release Date tag and the Release Time tag to obtain a single Date object representing the date and time when this image was released.
        Returns:
        A Date object representing when this image was released, if possible, otherwise null
      • getExpirationDate

        public java.util.Date getExpirationDate()
        Parses the Expiration Date tag and the Expiration Time tag to obtain a single Date object representing that this image should not used after this date and time.
        Returns:
        A Date object representing when this image was released, if possible, otherwise null
      • getDateCreated

        public java.util.Date getDateCreated()
        Parses the Date Created tag and the Time Created tag to obtain a single Date object representing the date and time when this image was captured.
        Returns:
        A Date object representing when this image was captured, if possible, otherwise null
      • getDigitalDateCreated

        public java.util.Date getDigitalDateCreated()
        Parses the Digital Date Created tag and the Digital Time Created tag to obtain a single Date object representing the date and time when the digital representation of this image was created.
        Returns:
        A Date object representing when the digital representation of this image was created, if possible, otherwise null
      • getDate

        private java.util.Date getDate​(int dateTagType,
                                       int timeTagType)