Class Platform
- java.lang.Object
-
- org.eclipse.lemminx.utils.platform.Platform
-
public class Platform extends Object
Platform information about OS and JVM.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringdetails()Returns the server details, using the format:static JVMgetJVM()Returns the JVM informationstatic OSgetOS()Returns the OS informationstatic VersiongetVersion()Returns the version information
-
-
-
Field Detail
-
isWindows
public static final boolean isWindows
-
SLASH
public static String SLASH
-
-
Method Detail
-
getOS
public static OS getOS()
Returns the OS information- Returns:
- the OS information
-
getJVM
public static JVM getJVM()
Returns the JVM information- Returns:
- the JVM information
-
getVersion
public static Version getVersion()
Returns the version information- Returns:
- the version information
-
details
public static String details()
Returns the server details, using the format:
LemMinX Server info: - Version : (build version) - Java : (path to java.home]) - Git : ([Branch] short commit id - commit message)
- Returns:
- the formatted server details
-
-