public abstract class AbstractNativeDiscoveryStrategy extends Object implements NativeDiscoveryStrategy
This implementation looks for libvlc shared libraries by name in pre-defined directory locations.
Extra directory names can be provided by implementations of the getDirectoryNames(List)
template method in sub-classes.
If the named native libraries are found in a particular directory, then that directory is registered as a native library search path for JNA.
| Constructor and Description |
|---|
AbstractNativeDiscoveryStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
discover()
Attempt to discover the location of the libvlc native shared libraries.
|
void |
onFound(String path)
Invoked when native shared libraries find.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportedpublic final String discover()
NativeDiscoveryStrategydiscover in interface NativeDiscoveryStrategynull if this strategy did not find thempublic void onFound(String path)
NativeDiscoveryStrategyonFound in interface NativeDiscoveryStrategypath - directory containing the shared librariesCopyright © 2009–2015 Caprica Software Limited. All rights reserved.