Node:Deprecated Jasper Predicates, Previous:Deprecated Argument Conversions, Up:Deprecated Jasper API
jasper_new_object(
+JVM,
+Class,
+TypeSig,
+Args,
-Object)
[Obsolescent]
Creates a new Java object.
jasper_initialize/[1-2]
.
java/lang/String
, se/sics/jasper/SICStus
.
'$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.