Class OS
java.lang.Object
org.eclipse.lemminx.utils.platform.OS
OS information
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OS
public OS()
-
-
Method Details
-
getName
Returns the OS name.- Returns:
- the OS name.
-
getVersion
Returns the OS version.- Returns:
- the OS version.
-
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
-