Class NativeLibraryLoader


  • public class NativeLibraryLoader
    extends java.lang.Object
    Static methods for extracting and loading native libraries that were previously loaded directly in the MIPAV JRE. JHDF5, JOCL, and J3D libraries are the ones currently included.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String[] libList  
    • Field Detail

      • libList

        private static final java.lang.String[] libList
    • Constructor Detail

      • NativeLibraryLoader

        public NativeLibraryLoader()
    • Method Detail

      • loadNativeLibraries

        public static boolean loadNativeLibraries()
        Loads the MIPAV native libraries after extracting them.
        Returns:
        False if there was a problem extracting/loading the libraries.
      • getNativeLibTmpDir

        public static java.lang.String getNativeLibTmpDir()
      • getArchString

        public static java.lang.String getArchString()
      • addDirToLibPath

        public static void addDirToLibPath​(java.lang.String s)
                                    throws java.io.IOException
        Throws:
        java.io.IOException