Class IptcDirectory

java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.iptc.IptcDirectory

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

  • Constructor Details

    • IptcDirectory

      public IptcDirectory()
  • 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
    • getKeywords

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

      public 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 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 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 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 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