Class OSUtils


  • public class OSUtils
    extends Object
    Utility fields for OS detection.
    Author:
    Sebastien Vincent, Lubomir Marinov
    • Field Detail

      • IS_ANDROID

        public static final boolean IS_ANDROID
        true if OS is Android
      • IS_LINUX

        public static final boolean IS_LINUX
        true if OS is Linux.
      • IS_MAC

        public static final boolean IS_MAC
        true if OS is MacOSX.
      • IS_WINDOWS

        public static final boolean IS_WINDOWS
        true if OS is Windows.
      • IS_FREEBSD

        public static final boolean IS_FREEBSD
        true if OS is FreeBSD.
    • Method Detail

      • loadLibrary

        public static void loadLibrary​(String libname,
                                       Class<?> clazz)