Click or drag to resize

IJVMWrapperDirectImportPackage Method

Imports a Java package to be used within the program

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
Syntax
void ImportPackage(
	string packageName
)

Parameters

packageName  String
The package in the form of java.lang, java.util, etc.
Example
To add package search use a code like:
C#
// the following code is the Java equivalent of import java.lang.*;

ImportPackage("java.lang");
See Also