Java Reference
In-Depth Information
Figure 12-1.
A class diagram of Java APIs for Nashorn in the jdk.nashorn.api.scripting
package
Note that the Nashorn scripting engine internally uses a lot of other classes in other
packages. However, you are not supposed to use them in your application directly, except
for classes from the
jdk.nashorn.api.scripting
package. The webpage at
contains the links for the documentation for the
jdk.nashorn.api.scripting
package.
■
the
ClassFilter
interface in the
jdk.nashorn.api.scripting
package has
been added in JDK8u40, which is planned to be shipped at the end of the first quarter of
2015. If you want to use this interface earlier, you will need to download the early access
build for JDK8u40.
Note
I will discuss some Nashorn-specific Java classes and interfaces in detail in
subsequent sections. Table
12-1
lists the classes and interfaces in the
jdk.nashorn.api.
scripting
package with their descriptions.
Search WWH ::
Custom Search