importPackage(package)
Enable the use of unqualified names for all the classes of the specified package by searching for unqualified names as classes qualified by the given package. The package can be a java package, an inetsoft package, or any other package beginning with com or org.
Example
importPackage(java.awt);
font = new Font("Verdana", Font.ITALIC, 24);
foreground = Color.red;
| << registerPackage(string) | © 1996-2013 InetSoft Technology Corporation (v11.5) | JS.2 String Object Functions >> |