Module uk.co.caprica.vlcj.natives
Class RuntimeUtil
java.lang.Object
uk.co.caprica.vlcj.binding.support.runtime.RuntimeUtil
Crude heuristics to determine the current Operating System.
The com.sun.jna.Platform class provides similar functionality.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringGet the native library name.static booleanisMac()Test whether the runtime operating system is a Mac variant.static booleanisNix()Test whether the runtime operating system is "unix-like".static booleanTest whether the runtime operating system is a Windows variant.
-
Method Details
-
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
Get the native library name.- Returns:
- library name
-
getLibVlcCoreLibraryName
- Returns:
-