org.broadinstitute.gatk.nativebindings.NativeLibrary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gatk-native-bindings Show documentation
Show all versions of gatk-native-bindings Show documentation
Bindings for native libraries to implement to be compatible with GATK4
The newest version!
package org.broadinstitute.gatk.nativebindings;
import java.io.File;
/**
* Common interface for all native libraries.
*/
public interface NativeLibrary {
/**
* Attempts to load this native library. Returns true if loading was successful and the library is supported
* on the current hardware/software stack. Implementations should ensure that this method does not throw an {@link UnsatisfiedLinkError}.
* Note that the GATK engine will call this method once per instance and multiple instances may use the same tmpDir.
*
* @param tmpDir the temporary directory to which all files, including the library itself, are to be extracted.
* @return true if the library was successfully loaded and is supported on the current hardware/software stack, false otherwise.
*/
boolean load(File tmpDir);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy