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.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
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, short, char, int, long, float, double or Array of previous types.
Public methodStatic memberCheckForPrimitiveTType Check if TType is one of String, bool, byte, short, char, int, long, float, double.
Public Extension MethodCheckForRawPrimitive(Type) Check if type is one of bool, byte, short, char, int, long, float, double or Array of previous types.
Public methodStatic memberCheckForRawPrimitiveTType Check if TType is one of bool, byte, short, char, int, long, float, double.
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(IJVMBridgeBaseInstance) 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