Module uk.co.caprica.vlcj
Class JnaLibraryPathDirectoryProvider
java.lang.Object
uk.co.caprica.vlcj.factory.discovery.provider.JnaLibraryPathDirectoryProvider
- All Implemented Interfaces:
DiscoveryDirectoryProvider
Implementation of a directory provider that uses the "jna.library.path" system property.
If using "jna.library.path" correctly, the native library should be found directly by JNA, but this provider implementation may still be useful as it will set the VLC_PLUGIN_PATH.
-
Constructor Details
-
JnaLibraryPathDirectoryProvider
public JnaLibraryPathDirectoryProvider()
-
-
Method Details
-
priority
public int priority()Description copied from interface:DiscoveryDirectoryProvider
Priority of this provider.- Specified by:
priority
in interfaceDiscoveryDirectoryProvider
- Returns:
- priority
-
directories
Description copied from interface:DiscoveryDirectoryProvider
Return the directories to search.- Specified by:
directories
in interfaceDiscoveryDirectoryProvider
- Returns:
- directories
-
supported
public boolean supported()Description copied from interface:DiscoveryDirectoryProvider
Check if this provider implementation is supported (e.g. it may be for a particular operating system only).- Specified by:
supported
in interfaceDiscoveryDirectoryProvider
- Returns:
true
if supported;false
if not
-