java.lang.Object
org.eclipse.lemminx.utils.platform.OS

public class OS extends Object
OS information
  • Constructor Details

    • OS

      public OS()
  • Method Details

    • getName

      public String getName()
      Returns the OS name.
      Returns:
      the OS name.
    • getVersion

      public String getVersion()
      Returns the OS version.
      Returns:
      the OS version.
    • getArch

      public String getArch()
      Returns the OS arch.
      Returns:
      the OS arch.
    • isWindows

      public boolean isWindows()
      Returns true if the operating system is Windows and false otherwise
      Returns:
      true if the operating system is Windows and false otherwise