Click or drag to resize

JCOBridgeExtensions Class

General class with helpers for JVM initialization
Inheritance Hierarchy
SystemObject
  MASES.JCOBridge.C2JBridgeJCOBridgeExtensions

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public static class JCOBridgeExtensions

The JCOBridgeExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodCastTObject Casts the input object implemeneting IJVMBridgeBase into TObject
Public Extension MethodCheckForPrimitive(Type) Check if type is one of string, bool, byte, char, double, float, int, long, short or array of previous types
Public methodStatic memberCheckForPrimitiveTType Check if TType is one of string, bool, byte, char, double, float, int, long, short
Public Extension MethodCheckForRawPrimitive(Type) Check if type is one of bool, byte, char, double, float, int, long, short or array of previous types
Public methodStatic memberCheckForRawPrimitiveTType Check if TType is one of bool, byte, char, double, float, int, long, short
Public Extension MethodConvert(JavaException) Converts a generic JavaException into a known exception
Public Extension MethodConvertTException(JavaException) Converts a generic JavaException into a known exception
Public Extension MethodConvertTReturn(Object) Converts a generic object
Public Extension MethodDynTClass Returns the dynamic accessor of an instance of TClass
Public Extension MethodFilterJCOBridgeArgumentsT Filters arguments related to JCOBridge
Public Extension MethodGetListener Returns the IJVMBridgeBase associated to the JVM reference
Public Extension MethodInitializeListener Request the initialization of the Listener from the JVM. The listener is a new class which inherits from JVMBridgeListener
Public Extension MethodIsPrimitiveConvertible(IJavaType) Returns true if the class represents a primitive type
Public Extension MethodIsPrimitiveConvertible(String) Returns true if the class represents a primitive type
Public Extension MethodIsRawPrimitive(IJavaType) Returns true if the class represents a primitive type
Public Extension MethodIsRawPrimitive(String) Returns true if the class represents a primitive type
Public Extension MethodReleaseListener Release a IJVMBridgeBase from the JVM
Public Extension MethodToTObject(CLREventData) Converts data associated to CLREventData into TObject
Public Extension MethodToTObject(CLREventData, Int32) Converts extra data associated to CLREventData into TObject
Public Extension MethodToNative(IJVMBridgeBase) Converts a IJVMBridgeBase input to an object manageable from the JVM
Public Extension MethodToNative(Object) Converts a generic input to an object manageable from the JVM
Public Extension MethodToNative(Object) Converts a generic input array to an array manageable from the JVM. This extension is usable when there is an input like
C#
params object[] args
with a mixed CLR types.
Public Extension MethodWithConvertTClass, TJava, TNet Creates a new instance of enumerable, adding the converter in the execution chain
Public Extension MethodWithPrefetchTEnumerable Enable or disable prefetch on enumerable, default is with prefetch disabled
Public Extension MethodWithThreadTEnumerable Enable or disable use of a Thread on enumerable, default is to use ThreadPool
Top
Remarks
Do not use it directly. Shall be public, but it is used internally from other classes
See Also