 | IJVMWrapperDirectNew(String) Method |
Instantiates a new JVM object of className type using the no-argument constructor.
Namespace: MASES.JCOBridge.C2JBridge.JVMInteropAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
SyntaxIJavaObjectBase New(
string className
)
Function New (
className As String
) As IJavaObjectBase
Parameters
- className String
- The class name in the dot or slash form (example are java.lang.Boolean or java/lang/Boolean)
Return Value
IJavaObjectBaseA new
IJavaObjectBase wrapping the newly created JVM instance.
Exceptions| Exception | Condition |
|---|
| MissingMethodException |
Thrown if no no-argument constructor is found on the underlying Java class.
|
See Also