Click or drag to resize

SetupJVMWrapperImportPackage Method

Use the method available in JVM property

Imports a Java package to be used within the program

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.3.250913-47278498b8c67e733ecc289138cddb5aee2e4c7e
Syntax
[ObsoleteAttribute("Use the method available in JVM property", true)]
public 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