Class SystemProvider
java.lang.Object
com.developer.nefarious.zjoule.plugin.core.utils.SystemProvider
Utility class for providing information about the current operating system.
This class is designed to be used as a utility and cannot be instantiated. It provides a static method to retrieve the name of the operating system as reported by the Java Virtual Machine (JVM).
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Retrieves the name of the operating system on which the JVM is currently running.
-
Method Details
-
getCurrentSystem
Retrieves the name of the operating system on which the JVM is currently running.This method wraps the
System.getProperty("os.name")
call, which provides the operating system name as aString
.- Returns:
- the name of the operating system, such as "Windows 10", "Linux", or "Mac OS X". The exact value is determined by the underlying JVM implementation.
- See Also:
-