Pike v8.1 release 6

Module Java

Inheritance graph
"___Java" Java

Inherit "___Java"

inherit "___Java" : "___Java"


Variable pkg

object Java.pkg

Description

Singleton 'package' object.

Usage: object cls = Java.pkg.java.lang.String;

or: object cls = Java.pkg["java/lang/String"];

cls is a jclass object; call it to create a jobject, which will have all the methods of the Java class.

Example: Java.pkg.FooClass()->getResult();