Variable to access Java package or class. For example, Packages.java
or Packages.kotlin
.
Install compatibility variables and functions for Rhino engine Java interaction, currently supports:
Packages
variable, to access Java package or classjava
, javax
, org
, com
, edu
, net
, android
packages, to access common Java packages and classesJavaAdapter
class, to implement Java class or interface dynamically in JavaScript. Currently not supported, will be supported in a future versionNot supported importClass
and importPackage
functions, please use assignment statement instead.
The rhino module provides rhino engine-compatible Java interaction APIs, such as importing Java packages, classes, and JavaAdapter (not yet implemented).