Class ReleaseDetails

java.lang.Object
org.openpreservation.jhove.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 Details

    • 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
    • toString

      public String toString()
      { @inheritDoc }
      Overrides:
      toString in class Object
    • getInstance

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