All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.java.org.jnativehook.NativeLibraryLocator Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
/* JNativeHook: Global keyboard and mouse hooking for Java.
 * Copyright (C) 2006-2015 Alexander Barker.  All Rights Received.
 * https://github.com/kwhat/jnativehook/
 *
 * JNativeHook is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * JNativeHook is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see .
 */
package org.jnativehook;

// Imports.
import java.io.File;
import java.util.Iterator;

/**
 * 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.
 * 

* * @author Aidas Adomkus ([email protected]) * @version 2.0 * @since 2.0 * * @see DefaultLibraryLocator */ public interface NativeLibraryLocator { /** * Perform procedures to interface with the native library. These procedures may include acquiring, unpacking and * loading the library into the Java Virtual Machine. * * @return Iterator of type file, where each file points to a native library to load. */ public Iterator getLibraries(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy