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:DiscoveryDirectoryProviderPriority of this provider.- Specified by:
priorityin interfaceDiscoveryDirectoryProvider- Returns:
- priority
-
directories
Description copied from interface:DiscoveryDirectoryProviderReturn the directories to search.- Specified by:
directoriesin interfaceDiscoveryDirectoryProvider- Returns:
- directories
-
supported
public boolean supported()Description copied from interface:DiscoveryDirectoryProviderCheck if this provider implementation is supported (e.g. it may be for a particular operating system only).- Specified by:
supportedin interfaceDiscoveryDirectoryProvider- Returns:
trueif supported;falseif not
-