Class Version

java.lang.Object
com.github.sardine.Version

public final class Version extends Object
Provides version information from the manifest.
  • Method Details

    • getSpecification

      public static String getSpecification()
      Returns:
      The Specification-Version in the JAR manifest.
    • getImplementation

      public static String getImplementation()
      Returns:
      The Implementation-Version in the JAR manifest.
    • main

      public static void main(String[] args)
      A simple main method that prints the version and exits