Class ImageTimestampsAttributes

Object
ImageTimestampsAttributes

public final class ImageTimestampsAttributes extends Object
This combines ImageFileAttributes plus a timestamp for image-acqusition.

It is intended to encapsulate all the timestamps relevant for ImageMetadata plus any additional metadata from ImageFileAttributes (e.g. the extension).

Author:
Owen Feehan
  • Constructor Details

    • ImageTimestampsAttributes

      public ImageTimestampsAttributes(ImageFileAttributes attributes, Optional<ZonedDateTime> acqusitionTime)
      Creates a new ImageTimestampsAttributes instance.
      Parameters:
      attributes - Timestamps and other metadata associated with an image file-path, but not with the file's contents.
      acqusitionTime - A timestamp, if available, of when the image was first physically created by the camera/device.
  • Method Details

    • getAttributes

      public ImageFileAttributes getAttributes()
      Timestamps and other metadata associated with an image file-path, but not with the file's contents.
    • getAcqusitionTime

      public Optional<ZonedDateTime> getAcqusitionTime()
      A timestamp, if available, of when the image was first physically created by the camera/device.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object