Class Version

java.lang.Object
org.eclipse.rdf4j.federated.util.Version

public class Version extends Object
Version utility: read the version from the Jar's manifest file.
Author:
Andreas Schwarte
  • Field Details Link icon

    • log Link icon

      protected static final org.slf4j.Logger log
    • project Link icon

      protected String project
    • date Link icon

      protected String date
    • longVersion Link icon

      protected String longVersion
    • build Link icon

      protected String build
    • version Link icon

      protected String version
    • contact Link icon

      protected String contact
    • companyName Link icon

      protected String companyName
    • productName Link icon

      protected String productName
  • Method Details Link icon

    • getVersionInfo Link icon

      public static Version getVersionInfo()
      Return the version instance
      Returns:
      the Version instance
    • getJarPath Link icon

      protected String getJarPath()
    • getVersionString Link icon

      public String getVersionString()
      Returns:
      the version string, i.e. 'FedX 1.0 alpha (build 1)'
    • printVersionInformation Link icon

      public void printVersionInformation()
      print information to Stdout
    • getProject Link icon

      public String getProject()
    • getDate Link icon

      public String getDate()
    • getLongVersion Link icon

      public String getLongVersion()
    • getBuild Link icon

      public String getBuild()
    • getVersion Link icon

      public String getVersion()
    • getContact Link icon

      public String getContact()
    • getCompanyName Link icon

      public String getCompanyName()
    • getProductName Link icon

      public String getProductName()
    • main Link icon

      public static void main(String[] args)
      Prints the version info.
      Parameters:
      args -