# Class OSHelper.JavaVersion

java.lang.Object
com.macrofocus.helper.OSHelper.JavaVersion

Enclosing class:
  `OSHelper`

public static class OSHelper.JavaVersion extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JavaVersion(double major, int minor, int build)`
  `JavaVersion(String version)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareVersion(double major, int minor, int build)`
  `int`
  `getBuildNumber()`
  `double`
  `getMajorVersion()`
  `int`
  `getMinorVersion()`
  `String`
  `getPatch()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JavaVersion

    public JavaVersion(String version)

  - ### JavaVersion

    public JavaVersion(double major, int minor, int build)

- ## Method Details

  - ### compareVersion

    public int compareVersion(double major, int minor, int build)

  - ### getMajorVersion

    public double getMajorVersion()

  - ### getMinorVersion

    public int getMinorVersion()

  - ### getBuildNumber

    public int getBuildNumber()

  - ### getPatch

    public String getPatch()