Class NativeLoader

java.lang.Object
com.luciad.imageio.webp.NativeLoader

public class NativeLoader extends Object
The library files are automatically extracted from this project's package (JAR).

usage: call initialize() before using the library.

Author:
leo
  • Constructor Details

    • NativeLoader

      public NativeLoader()
  • Method Details

    • initialize

      public static boolean initialize() throws Exception
      Loads native library.
      Returns:
      True if native library is successfully loaded; false otherwise.
      Throws:
      Exception
    • getMajorVersion

      public static int getMajorVersion()
      Returns:
      The major version of the library.
    • getMinorVersion

      public static int getMinorVersion()
      Returns:
      The minor version of the library.
    • getVersion

      public static String getVersion()
      Returns:
      The version of the library.