We can use import ‘class’ for the bundled classes, and we use
import_class ‘class’ for the unbundled classes. I assume that the
bundled classes are the standard Java API? If not, then what?
We can use import ‘class’ for the bundled classes, and we use
import_class ‘class’ for the unbundled classes. I assume that the
bundled classes are the standard Java API? If not, then what?
I think I’m confused…import and include_class are pretty much just
aliases. Are you referring to the classes you can access without them
being strings, as in java.lang.System? In those cases, we provide
top-level methods for ‘java’, ‘javax’, ‘org’, and ‘com’, which are the
four most common top-level package names in the Java world. Anything not
in one of those top-level packages you need to import/include_class
using a string, or access them as Java::my.other.package.Class.