Class SystemTools

java.lang.Object
rife.bld.extension.tools.SystemTools

public final class SystemTools extends Object
System Tools.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Determines if the current operating system is AIX.
    static boolean
    Determines if the current environment is running in a Cygwin environment.
    static boolean
    Determines if the current operating system is FreeBSD.
    static boolean
    Determines if the operating system is Linux.
    static boolean
    Determines if the current operating system is macOS.
    static boolean
    Determines if the current environment is running in a Mingw environment.
    static boolean
    Determines if the current operating system is OpenVMS.
    static boolean
    Determines if the current operating system is other than AIX, FreeBSD, Linux, macOS, OpenVMS, Solaris, or Windows.
    static boolean
    Determines if the current operating system is Solaris.
    static boolean
    Determines if the current operating system is Windows.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isAix

      public static boolean isAix()
      Determines if the current operating system is AIX.
      Returns:
      true if the operating system is identified as AIX, false otherwise
      Since:
      1.0
    • isCygwin

      public static boolean isCygwin()
      Determines if the current environment is running in a Cygwin environment.
      Returns:
      true if the environment is detected as Cygwin, false otherwise
    • isFreeBsd

      public static boolean isFreeBsd()
      Determines if the current operating system is FreeBSD.
      Returns:
      true if the operating system is FreeBSD, false otherwise\
      Since:
      1.0
    • isLinux

      public static boolean isLinux()
      Determines if the operating system is Linux.
      Returns:
      true if the operating system is Linux, false otherwise
      Since:
      1.0
    • isMacOS

      public static boolean isMacOS()
      Determines if the current operating system is macOS.
      Returns:
      true if the OS is macOS, false otherwise
      Since:
      1.0
    • isMingw

      public static boolean isMingw()
      Determines if the current environment is running in a Mingw environment.
      Returns:
      true if the environment is detected as MinGW/MSYS2, false otherwise
      Since:
      1.0
    • isOpenVms

      public static boolean isOpenVms()
      Determines if the current operating system is OpenVMS.
      Returns:
      true if the operating system is OpenVMS, false otherwise
      Since:
      1.0
    • isOtherOS

      public static boolean isOtherOS()
      Determines if the current operating system is other than AIX, FreeBSD, Linux, macOS, OpenVMS, Solaris, or Windows.
      Returns:
      true if the operating system is other than AIX, FreeBSD, Linux, macOS, OpenVMS, Solaris, or Windows, false otherwise
      Since:
      1.0
    • isSolaris

      public static boolean isSolaris()
      Determines if the current operating system is Solaris.
      Returns:
      true if the operating system is Solaris, false otherwise
      Since:
      1.0
    • isWindows

      public static boolean isWindows()
      Determines if the current operating system is Windows.
      Returns:
      true if the operating system is Windows, false otherwise
      Since:
      1.0