Class VersionCollector


  • public class VersionCollector
    extends Object
    This class fetches the version of the jar from the metadata in the jar file.
    • Constructor Detail

      • VersionCollector

        public VersionCollector​(String path)
        Instantiates a new Version collector.
        Parameters:
        path - the path
      • VersionCollector

        public VersionCollector()
        Instantiates a new Version collector.
    • Method Detail

      • getVersionNumber

        public String getVersionNumber()
        Gets version number of the current JAR file.
        Returns:
        the version number