Class AlbumObjectMetadata

java.lang.Object
se.datadosen.jalbum.AlbumObjectMetadata
All Implemented Interfaces:
java.io.Serializable

public class AlbumObjectMetadata
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    long getCameraDate()
    Get camera date.
    static AlbumObjectMetadata getInstance​(java.io.File f)  
    com.drew.metadata.Metadata getMetadata()  
    long getRealCameraDate()
    Get camera date or 0 if camera date is missing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      public static AlbumObjectMetadata getInstance​(java.io.File f) throws java.io.IOException
      Throws:
      java.io.IOException
    • getCameraDate

      public long getCameraDate()
      Get camera date. Fall back to last modified date for missing camera date
      Returns:
    • getRealCameraDate

      public long getRealCameraDate()
      Get camera date or 0 if camera date is missing
      Returns:
      Since:
      16
    • getMetadata

      public com.drew.metadata.Metadata getMetadata()