Deprecated Jasper Predicates


jasper_new_object(+JVM,+Class,+TypeSig,+Args,-Object) obsolescent

Creates a new Java object.

JVM
A reference to the Java VM, as obtained by jasper_initialize/[1,2].
Class
An an atom containing the fully qualified classname (i.e. package name separated with '/', followed by the class name), for example java/lang/String, se/sics/jasper/SICStus.
TypeSig
The type signature of the class constructor. A type signature is a string that uniquely defines a method within a class. For a definition of type signatures, see the JNI Documentation.
Args
A list of argument specifiers. See Deprecated Argument Conversions.
Object
A term on the form '$java_object'(X), where X is a Java object reference. This is the Prolog handle to the Java object. See Global vs. Local References.

jasper_call_static(+JVM,+Class,+MethodName,+TypeSig,+Args,-RetVal) obsolescent

Calls a static Java method. For an explanation of the JVM, Class, TypeSig, and Args, see jasper_new_object/5. MethodName is the name of the static method. RetVal is the return value of the method.

jasper_call_instance(+JVM,+Object,+MethodName,+TypeSig,+Args,-RetVal) obsolescent

Calls a Java method on an object. For an explanation of the JVM, Class, TypeSig, and Args, see jasper_new_object/5. Object is an object reference as obtained from jasper_new_object/5. RetVal is the return value of the method.