Class SystemProvider

java.lang.Object
com.developer.nefarious.zjoule.plugin.core.utils.SystemProvider

public abstract class SystemProvider extends Object
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 Details

    • getCurrentSystem

      public static String 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 a String.

      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: