Class OS


  • public final class OS
    extends java.lang.Object
    Utility class to check the operating system in runtime.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isLinux()  
      static boolean isMac()  
      static boolean isWindows()  
      • Methods inherited from class java.lang.Object

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

      • isMac

        public static boolean isMac()
      • isWindows

        public static boolean isWindows()
      • isLinux

        public static boolean isLinux()