Class RuntimeUtil


  • public final class RuntimeUtil
    extends Object
    Crude heuristics to determine the current Operating System.

    The com.sun.jna.Platform class provides similar functionality.

    • Method Detail

      • isNix

        public static boolean isNix()
        Test whether the runtime operating system is "unix-like".
        Returns:
        true if the runtime OS is unix-like, Linux, Unix, FreeBSD etc
      • isWindows

        public static boolean isWindows()
        Test whether the runtime operating system is a Windows variant.
        Returns:
        true if the runtime OS is Windows
      • isMac

        public static boolean isMac()
        Test whether the runtime operating system is a Mac variant.
        Returns:
        true if the runtime OS is Mac
      • getLibVlcLibraryName

        public static String getLibVlcLibraryName()
        Get the native library name.
        Returns:
        library name
      • getLibVlcCoreLibraryName

        public static String getLibVlcCoreLibraryName()
        Returns: