Interface NativeLibraryLocator

  • All Known Implementing Classes:
    DefaultLibraryLocator

    public interface NativeLibraryLocator
    Interface used for native library loading. This interface should be implemented to alter what libraries are loaded, and where they are loaded from. The jnativehook.lib.locator property should be set to the implementing class prior to loading the GlobalScreen class. If no property is specified, DefaultLibraryLocator will be used.

    Since:
    2.0
    Version:
    2.0
    Author:
    Aidas Adomkus (vasiukai@gmail.com)
    See Also:
    DefaultLibraryLocator
    • Method Detail

      • getLibraries

        Iterator<File> getLibraries()
        Perform procedures to interface with the native library. These procedures may include acquiring, unpacking and loading the library into the Java Virtual Machine.
        Returns:
        Iterator of type file, where each file points to a native library to load.