Class Java

Description

The Java proxy class.

  • see: #JavaException
  • access: public

Located in /JavaProxy.inc (line 675)

java_AbstractJava
   |
   --Java
Method Summary
Java Java ()
void __destruct ()
void __call ($method $method, $args $args)
Methods
Constructor Java (line 695)

Create a new instance of a java type.

Use this constructor to create an instance. Use the Java function to access the type.

Example which creates an instance:

  1.  $s new Java("java.lang.String""hello");

Example which accesses the System class:

  1.  $s Java("java.lang.System");

  • see: #Java()
Java Java ()
Destructor __destruct (line 754)
void __destruct ()
__call (line 788)

Call a method on a Java object

Example:

  1.  $s->substring(110);

void __call ($method $method, $args $args)
  • $method $method: The method name
  • $args $args: The argument array

Documentation generated on Sun, 30 Sep 2007 10:33:27 +0200 by phpDocumentor 1.4.0a2