Package uk.co.caprica.vlcj.binding
Class RuntimeUtil
- java.lang.Object
-
- uk.co.caprica.vlcj.binding.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetLibVlcCoreLibraryName()static StringgetLibVlcLibraryName()Get 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 booleanisWindows()Test whether the runtime operating system is a Windows variant.
-
-
-
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:
-
-