java_last_exception_get
object java_last_exception_get()
Description: Returns a Java exception object for the last exception
Return Value: Java Exception object, if there was an exception, false otherwise
java_last_exception_clear
void java_last_exception_clear()
Description: Clear last Java exception object record.
java_set_ignore_case
void java_set_ignore_case(bool ignore)
Description: Set case sensitivity for Java calls.
Parameters:
ignore - if set, Java attribute
and method names would be resolved disregarding case.
NOTE: this does not make any
Java functions case insensitive, just things like $foo->bar
and $foo->bar() would match Bar too.
java_set_encoding
array java_set_encoding(string encoding)
Description: Set encoding for strings received by Java from PHP. Default is UTF-8.
java_throw_exceptions
void java_throw_exceptions(int throw)
Description: Control if exceptions are thrown on Java exception. Only for PHP5.
Parameters:
throw - If true, PHP exception is thrown when Java exception happens.
If set to false, use java_last_exception_get() to check for exception.
java_require
void java_require(string path)
Description: include an additional classpath/JAR in the context of a PHP script
Parameters:
URL pointing to the location of the Jar file. The function accepts
the following protocols: https://, http:// file://, ftp:// and it can
also be a local path e.g. c:\.
|
|
|
|
|
Related Links: |
|
|
|