Class ReleaseDetails


  • public final class ReleaseDetails
    extends Object
    Immutable class that reads a properties file containing JHOVE release details. The version number, build date and format are kept up to date by Maven, which filters the properties as part of the build process.
    Author:
    Carl Wilson
    • Method Detail

      • getVersion

        public String getVersion()
        Returns:
        the JHOVE software version number
      • getBuildDate

        public Date getBuildDate()
        Returns:
        the JHOVE software build date
      • getRights

        public String getRights()
        Returns:
        the JHOVE software rights statement
      • hashCode

        public int hashCode()
        { @inheritDoc }
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        { @inheritDoc }
        Overrides:
        equals in class Object
      • getInstance

        public static ReleaseDetails getInstance()
        Returns:
        the static immutable ReleaseDetails instance