Click or drag to resize

IJVMWrapperDirect Interface

Public direct accessor for JVM: use this interface to directly manage objects and classes, this interface avoids use of dynamic resolution

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.7.230503-5b2d77f31cef8c4bcaa15ef3ad392561e9e38aa6
Syntax
public interface IJVMWrapperDirect

The IJVMWrapperDirect type exposes the following members.

Methods
 NameDescription
Public methodCastTo Converts the origin in the instance defined from className
Public methodConvertObject Converts an Object to its equivalent JVM type
Public methodGetClass Retrieve a class from JVM
Public methodGetClassName Gets the class name from the object pointer
Public methodGetObject(IntPtr, Boolean) Gets an instance of IJavaObject from the object pointer
Public methodGetObject(String, IntPtr, Boolean) Gets an instance of IJavaObject from the object pointer
Public methodCode exampleImportPackage Imports a Java package to be used within the program
Public methodIsAssignableFrom Check if sub is assignable from sup
Public methodIsInstanceOf Check if obj is instance of clazz
Public methodNew Create a new JVM object
Public methodNewArray(String, Object) Creates a new array
Public methodNewArrayTArrayType(TArrayType) Creates a new array
Public methodThrow Throws an exception
Public methodToArray Gets an instance of IJavaObject from the object pointer
Top
See Also