Class JNIUtils

  • All Implemented Interfaces:

    
    public class JNIUtils
    
                        

    This class provides JNI-related methods to the native library.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      JNIUtils()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void setClassLoader(ClassLoader classLoader) Sets the ClassLoader to be used for loading Java classes from native.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JNIUtils

        JNIUtils()
    • Method Detail

      • setClassLoader

         static void setClassLoader(ClassLoader classLoader)

        Sets the ClassLoader to be used for loading Java classes from native.

        Parameters:
        classLoader - the ClassLoader to use.