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.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
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