Class Version

    • Constructor Detail

      • Version

        public Version​(int major,
                       int minor,
                       int micro)
      • Version

        public Version​(int major,
                       int minor,
                       int micro,
                       String suffix)
    • Method Detail

      • getVersion

        public static Version getVersion​(Class<?> clazz)
        Try to obtain the version from the manifest.
      • getVersion

        public static Version getVersion()
      • main

        public static void main​(String[] args)
      • getMajor

        public int getMajor()
      • getMinor

        public int getMinor()
      • getMicro

        public int getMicro()
      • getSuffix

        public String getSuffix()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object