Interface SparkSystemUtils


public interface SparkSystemUtils
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the underlying operating system is Linux.
    boolean
    Whether the underlying operating system is Mac OS X.
    boolean
    Whether the underlying operating system is Mac OS X and processor is Apple Silicon.
    boolean
    Whether the underlying operating system is UNIX.
    boolean
    Whether the underlying operating system is Windows.
    The java.version system property.
    The os.arch system property.
    The os.name system property.
    The os.version system property.
  • Method Details

    • osName

      String osName()
      The os.name system property.
      Returns:
      (undocumented)
    • osVersion

      String osVersion()
      The os.version system property.
      Returns:
      (undocumented)
    • osArch

      String osArch()
      The os.arch system property.
      Returns:
      (undocumented)
    • javaVersion

      String javaVersion()
      The java.version system property.
      Returns:
      (undocumented)
    • isWindows

      boolean isWindows()
      Whether the underlying operating system is Windows.
      Returns:
      (undocumented)
    • isMac

      boolean isMac()
      Whether the underlying operating system is Mac OS X.
      Returns:
      (undocumented)
    • isMacOnAppleSilicon

      boolean isMacOnAppleSilicon()
      Whether the underlying operating system is Mac OS X and processor is Apple Silicon.
      Returns:
      (undocumented)
    • isLinux

      boolean isLinux()
      Whether the underlying operating system is Linux.
      Returns:
      (undocumented)
    • isUnix

      boolean isUnix()
      Whether the underlying operating system is UNIX.
      Returns:
      (undocumented)