/JavaBridge.inc

Description
Includes
require_once ("${JAVA_BASE}/JavaProxy.inc") (line 61)
Functions
Java (line 131)

Access the java type with the given name.

Access the java type with the given name. Example:

  1.  java("java.lang.System")->getProperties();

  • access: public
void Java ($name $name)
  • $name $name: The type name
java_autoload (line 108)

Load a set of java libraries and make them available in the current name space.

Load a set of java libraries and make them available in the current name space. Available since php 5.2.0. Example:

  1.  java_autoload("itext.jar;log4j.jar");
  2.  $byte java_lang_Byte::type()->TYPE;
  3.  $reader new com_lowagie_text_pdf_PdfReader("mypdf.pdf");
  4.  ...

  • access: public
void java_autoload ([$libs $libs = null])
  • $libs $libs: The libraries separated by a semicolon
java_is_null (line 187)

Checks whether a value is null or not.

Checks whether a value is null or not. Example:

  1.  java_is_null(java("java.lang.System")->;getProperty("foo"))

  • return: if $value is the PHP or Java null value.
  • access: public
true java_is_null ($value $value)
  • $value $value: A Java object or a PHP value

Documentation generated on Sun, 16 Mar 2008 19:11:40 +0100 by phpDocumentor 1.4.0a2