Modifier and Type | Method and Description |
---|---|
static boolean |
NetworkModule.checkdnsrr(Env env,
java.lang.String hostname,
java.lang.String type) |
static boolean |
NetworkModule.dns_check_record(Env env,
java.lang.String hostname,
java.lang.String type)
Finds the mx hosts for the given hostname, placing them in mxhosts and
their corresponding weights in weight, if provided.
|
static boolean |
NetworkModule.dns_get_mx(Env env,
java.lang.String hostname,
Value mxhosts,
Value weight)
Finds the mx hosts for the given hostname, placing them in mxhosts and
their corresponding weights in weight, if provided.
|
ArrayValue |
NetworkModule.dns_get_record(Env env,
java.lang.String hostname,
int type,
Value authnsRef,
Value addtlRef) |
static boolean |
NetworkModule.getmxrr(Env env,
java.lang.String hostname,
Value mxhosts,
Value weight) |
static java.lang.String |
ResinModule.mbean_implode(ArrayValue exploded)
Implode an array into an object name.
|
static int |
MiscModule.proc_close(Env env,
ProcOpenResource stream)
Closes the process opened by proc_open.
|
static Value |
MiscModule.proc_get_status(Env env,
ProcOpenResource stream) |
static boolean |
MiscModule.proc_terminate(Env env,
ProcOpenResource stream)
Forcibly terminates the process opened by proc_open.
|
Modifier and Type | Method and Description |
---|---|
static void |
CurlModule.curl_close(Env env,
CurlResource curl)
Closes this cURL object.
|
static CurlResource |
CurlModule.curl_copy_handle(Env env,
CurlResource curl)
Returns a copy of this resource.
|
static Value |
CurlModule.curl_errno(Env env,
CurlResource curl)
Returns the error code from the last operation.
|
static Value |
CurlModule.curl_error(Env env,
CurlResource curl)
Returns the error string from the last operation.
|
static Value |
CurlModule.curl_exec(Env env,
CurlResource curl) |
static Value |
CurlModule.curl_getinfo(Env env,
CurlResource curl,
Value option)
Returns information about the last request.
|
static BooleanValue |
CurlModule.curl_setopt_array(Env env,
CurlResource curl,
ArrayValue options)
Sets an array of options.
|
static BooleanValue |
CurlModule.curl_setopt(Env env,
CurlResource curl,
int option,
Value value)
Sets a cURL option.
|
Modifier and Type | Method and Description |
---|---|
static Value |
DateModule.date_timestamp_get(Env env,
DateTime dateTime) |
static void |
DateModule.date_timestamp_set(Env env,
DateTime dateTime,
long time) |
static DateTimeZone |
DateModule.date_timezone_get(Env env,
DateTime dateTime) |
static DateTime |
DateModule.date_timezone_set(Env env,
DateTime dateTime,
DateTimeZone dateTimeZone) |
static DateTime |
DateModule.date_timezone_set(Env env,
DateTime dateTime,
DateTimeZone dateTimeZone) |
ArrayValue |
DateModule.localtime(Env env,
long time,
boolean isAssociative)
Returns the time as an indexed or associative array
|
Modifier and Type | Method and Description |
---|---|
static boolean |
MysqlModule.mysql_create_db(Env env,
StringValue name,
Mysqli conn)
Creates a database.
|
static boolean |
MysqlModule.mysql_data_seek(Env env,
MysqliResult result,
int rowNumber)
Moves the intenal row pointer of the MySQL result to the
specified row number, 0 based.
|
static Value |
MysqlModule.mysql_db_name(Env env,
MysqliResult result,
int row,
Value field)
Retrieves the database name after a call to mysql_list_dbs()
|
static Value |
MysqlModule.mysql_dbname(Env env,
MysqliResult result,
int row)
Deprecated alias for mysql_db_name
|
static boolean |
MysqlModule.mysql_drop_db(Env env,
StringValue databaseName,
Mysqli conn)
Drops a database.
|
static boolean |
MysqlModule.mysql_dropdb(Env env,
StringValue databaseName,
Mysqli conn)
Deprecated alias for mysql_drop_db.
|
static Value |
MysqlModule.mysql_fetch_array(Env env,
MysqliResult result,
int type)
Returns a row from the connection
|
static Value |
MysqlModule.mysql_fetch_assoc(Env env,
MysqliResult result)
Returns a row from the connection
|
static Value |
MysqlModule.mysql_fetch_field(Env env,
MysqliResult result,
int fieldOffset)
Returns an object containing field information.
|
static Value |
MysqlModule.mysql_fetch_lengths(Env env,
MysqliResult result)
Returns an array of lengths.
|
static Value |
MysqlModule.mysql_fetch_object(Env env,
MysqliResult result,
java.lang.String className,
Value[] args)
Returns an object with properties that correspond to the fetched row
and moves the data pointer ahead.
|
static Value |
MysqlModule.mysql_fetch_row(Env env,
MysqliResult result)
Returns a numerical row from the result, FALSE if no more rows.
|
static Value |
MysqlModule.mysql_field_flags(Env env,
MysqliResult result,
int fieldOffset)
Returns the field flags of the specified field.
|
static Value |
MysqlModule.mysql_field_len(Env env,
MysqliResult result,
int fieldOffset)
Returns the length of the specified field
|
static Value |
MysqlModule.mysql_field_name(Env env,
MysqliResult result,
int fieldOffset)
Returns field name at given offset.
|
static boolean |
MysqlModule.mysql_field_seek(Env env,
MysqliResult result,
int fieldOffset)
Seeks to the specified field offset, the field offset is
is used as the default for the next call to
MysqlModule.mysql_fetch_field(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.MysqliResult, int) . |
static Value |
MysqlModule.mysql_field_table(Env env,
MysqliResult result,
int fieldOffset)
Returns the table corresponding to the field.
|
static Value |
MysqlModule.mysql_field_type(Env env,
MysqliResult result,
Value fieldOffset)
Returns the field type.
|
static Value |
MysqlModule.mysql_fieldname(Env env,
MysqliResult result,
int fieldOffset)
Deprecated alias for mysql_field_name.
|
static Value |
MysqlModule.mysql_fieldtable(Env env,
MysqliResult result,
int fieldOffset)
Deprecated alias for mysql_field_table.
|
static Value |
MysqlModule.mysql_fieldtype(Env env,
MysqliResult result,
Value fieldOffset)
Deprecated alias for mysql_field_type.
|
static boolean |
MysqlModule.mysql_free_result(MysqliResult result)
Frees a mysql result.
|
static boolean |
MysqlModule.mysql_freeresult(MysqliResult result)
Alias for mysql_free_result.
|
static Value |
MysqlModule.mysql_num_fields(Env env,
MysqliResult result)
Get number of fields in result
|
static Value |
MysqlModule.mysql_num_rows(Env env,
MysqliResult result)
Retrieves the number of rows in a result set.
|
static Value |
MysqlModule.mysql_numfields(Env env,
MysqliResult result)
Deprecated alias for mysql_num_fields
|
static Value |
MysqlModule.mysql_numrows(Env env,
MysqliResult result)
Undocumented alias for {#link #mysql_num_rows}.
|
static Value |
MysqlModule.mysql_result(Env env,
MysqliResult result,
int row,
Value field)
Returns the value of one field in the result set.
|
static Value |
MysqlModule.mysql_tablename(Env env,
MysqliResult result,
int i)
Retrieves the table name corresponding to a field, using
a result return by
MysqlModule.mysql_list_tables(com.caucho.quercus.env.Env, com.caucho.quercus.env.StringValue, com.caucho.quercus.lib.db.Mysqli) . |
static java.lang.Object |
MysqlModule.mysql_unbuffered_query(Env env,
StringValue name,
Mysqli conn)
Queries the database.
|
static int |
MysqliModule.mysqli_affected_rows(Env env,
Mysqli conn)
Returns the number of affected rows.
|
static boolean |
MysqliModule.mysqli_autocommit(Env env,
Mysqli conn,
boolean mode)
Turns auto-commit on or off.
|
static boolean |
MysqliModule.mysqli_bind_param(Env env,
MysqliStatement stmt,
StringValue types,
Value[] params)
|
static boolean |
MysqliModule.mysqli_bind_result(Env env,
MysqliStatement stmt,
Value[] outParams)
|
static boolean |
MysqliModule.mysqli_change_user(Env env,
Mysqli mysqli,
java.lang.String user,
java.lang.String password,
java.lang.String db)
Changes the user and database.
|
static Value |
MysqliModule.mysqli_character_set_name(Env env,
Mysqli conn)
Returns the client encoding.
|
static Value |
MysqliModule.mysqli_client_encoding(Env env,
Mysqli conn)
|
static boolean |
MysqliModule.mysqli_close(Env env,
Mysqli conn)
Closes a connection.
|
static boolean |
MysqliModule.mysqli_commit(Mysqli conn)
Commits the current transaction for the supplied connection.
|
static Value |
MysqliModule.mysqli_data_seek(Env env,
MysqliResult result,
int rowNumber)
Seeks the specified row.
|
static Value |
MysqliModule.mysqli_errno(Mysqli conn)
Returns the error code for the most recent function call,
0 for no error.
|
static Value |
MysqliModule.mysqli_error(Env env,
Mysqli conn)
Returns the most recent error.
|
static Value |
MysqliModule.mysqli_escape_string(Env env,
Mysqli conn,
StringValue unescapedString)
|
static boolean |
MysqliModule.mysqli_execute(Env env,
MysqliStatement stmt)
|
static Value |
MysqliModule.mysqli_fetch_array(Env env,
MysqliResult result,
int type)
Returns a row for the result.
|
static Value |
MysqliModule.mysqli_fetch_assoc(Env env,
MysqliResult result)
Returns an associative array from the result.
|
static Value |
MysqliModule.mysqli_fetch_field_direct(Env env,
MysqliResult result,
int fieldOffset)
Returns the field metadata.
|
static Value |
MysqliModule.mysqli_fetch_field(Env env,
MysqliResult result)
Returns the field metadata.
|
static Value |
MysqliModule.mysqli_fetch_fields(Env env,
MysqliResult result)
Returns an array of field metadata.
|
static Value |
MysqliModule.mysqli_fetch_lengths(Env env,
MysqliResult result)
Returns an array of integers respresenting the size of each column
FALSE if an error occurred.
|
static Value |
MysqliModule.mysqli_fetch_object(Env env,
MysqliResult result,
java.lang.String className,
Value[] args)
Returns an object with properties that correspond
to the fetched row and moves the data pointer ahead.
|
static Value |
MysqliModule.mysqli_fetch_row(Env env,
MysqliResult result)
Returns a row for the result.
|
static int |
MysqliModule.mysqli_field_count(Env env,
Mysqli conn)
Returns the number of columns for the most recent query.
|
static boolean |
MysqliModule.mysqli_field_seek(Env env,
MysqliResult result,
int fieldOffset)
Seeks to the specified field offset.
|
static int |
MysqliModule.mysqli_field_tell(Env env,
MysqliResult result)
Returns the position of the field cursor used for the last
mysqli_fetch_field() call.
|
static boolean |
MysqliModule.mysqli_free_result(MysqliResult result)
Frees a mysqli result
|
static Value |
MysqliModule.mysqli_get_charset(Env env,
Mysqli conn) |
static Value |
MysqliModule.mysqli_get_host_info(Env env,
Mysqli conn)
Returns a string describing the type of MySQL
connection in use.
|
static JdbcResultResource |
MysqliModule.mysqli_get_metadata(Env env,
MysqliStatement stmt)
|
static Value |
MysqliModule.mysqli_get_proto_info(Mysqli conn)
Return protocol number, for example 10.
|
static Value |
MysqliModule.mysqli_get_server_info(Env env,
Mysqli conn)
Returns the MySQL server version.
|
static Value |
MysqliModule.mysqli_get_server_version(Env env,
Mysqli conn)
Returns a number that represents the MySQL server version.
|
static Value |
MysqliModule.mysqli_insert_id(Env env,
Mysqli conn)
Returns ID generated for an AUTO_INCREMENT column by the previous
INSERT query on success, 0 if the previous query does not generate
an AUTO_INCREMENT value, or FALSE if no MySQL connection was established
|
static boolean |
MysqliModule.mysqli_kill(Env env,
Mysqli conn,
int threadId)
Terminate a Mysql connection with the given thread id.
|
static boolean |
MysqliModule.mysqli_more_results(Env env,
Mysqli conn)
Indicates if one or more result sets are available from
a previous call to mysqli_multi_query.
|
static boolean |
MysqliModule.mysqli_multi_query(Env env,
Mysqli conn,
StringValue query)
Executes one or multiple queires which are
concatenated by a semicolon.
|
static boolean |
MysqliModule.mysqli_next_result(Env env,
Mysqli conn)
Prepares next result set from a previous call to
mysqli_multi_query.
|
static Value |
MysqliModule.mysqli_num_fields(MysqliResult result)
Returns the number of fields from specified result set.
|
static Value |
MysqliModule.mysqli_num_rows(Env env,
MysqliResult result)
Returns the number of rows in the result set.
|
static boolean |
MysqliModule.mysqli_options(Env env,
Mysqli mysqli,
int option,
Value value)
Sets the options for a connection.
|
static int |
MysqliModule.mysqli_param_count(Env env,
MysqliStatement stmt)
|
static boolean |
MysqliModule.mysqli_ping(Env env,
Mysqli conn)
Checks if the connection is still valid
|
static MysqliStatement |
MysqliModule.mysqli_prepare(Env env,
Mysqli conn,
java.lang.String query)
Prepares a statement.
|
static Value |
MysqliModule.mysqli_query(Env env,
Mysqli conn,
StringValue sql,
int resultMode)
Executes a query and returns the result.
|
static boolean |
MysqliModule.mysqli_real_connect(Env env,
Mysqli mysqli,
StringValue host,
StringValue userName,
StringValue password,
StringValue dbname,
int port,
StringValue socket,
int flags)
Connects to the database.
|
static Value |
MysqliModule.mysqli_real_escape_string(Env env,
Mysqli conn,
StringValue unescapedString)
Escapes the following special character in unescapedString.
|
static boolean |
MysqliModule.mysqli_real_query(Env env,
Mysqli conn,
StringValue query)
Execute an single query against the database
whose result can then be retrieved
or stored using the mysqli_store_result()
or mysqli_use_result() functions.
|
static boolean |
MysqliModule.mysqli_rollback(Mysqli conn)
Rolls back the current transaction for the * connection.
|
static boolean |
MysqliModule.mysqli_set_charset(Env env,
Mysqli conn,
StringValue charset) |
static boolean |
MysqliModule.mysqli_set_opt(Env env,
Mysqli mysqli,
int option,
Value value)
|
static Value |
MysqliModule.mysqli_sqlstate(Env env,
Mysqli conn)
Returns an error string.
|
static Value |
MysqliModule.mysqli_stat(Env env,
Mysqli conn)
Returns a string with the status of the connection
or FALSE if error.
|
static int |
MysqliModule.mysqli_stmt_affected_rows(Env env,
MysqliStatement stmt)
Return the number of rows affected by an INSERT, UPDATE, or DELETE
query.
|
static boolean |
MysqliModule.mysqli_stmt_bind_param(Env env,
MysqliStatement stmt,
StringValue types,
Value[] params)
Binds variables for the parameter markers
in SQL statement that was passed to
MysqliModule.mysqli_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.Mysqli, java.lang.String) . |
static boolean |
MysqliModule.mysqli_stmt_bind_result(Env env,
MysqliStatement stmt,
Value[] outParams)
Binds outparams to result set.
|
static boolean |
MysqliModule.mysqli_stmt_close(Env env,
MysqliStatement stmt)
Closes a statement.
|
Value |
MysqliModule.mysqli_stmt_data_seek(Env env,
MysqliStatement stmt,
int offset)
Seeks to a given result.
|
static int |
MysqliModule.mysqli_stmt_errno(Env env,
MysqliStatement stmt)
Returns the error code for the prepared statement.
|
static StringValue |
MysqliModule.mysqli_stmt_error(Env env,
MysqliStatement stmt)
Returns the error message for the prepared statement.
|
static boolean |
MysqliModule.mysqli_stmt_execute(Env env,
MysqliStatement stmt)
Executes a statement that has been prepared using
MysqliModule.mysqli_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.Mysqli, java.lang.String) . |
static Value |
MysqliModule.mysqli_stmt_fetch(Env env,
MysqliStatement stmt)
Fetch results from a prepared statement.
|
static int |
MysqliModule.mysqli_stmt_field_count(Env env,
MysqliStatement stmt)
Undocumented
|
static MysqliStatement |
MysqliModule.mysqli_stmt_init(Env env,
Mysqli conn)
Returns a statement for use with
MysqliModule.mysqli_stmt_prepare(com.caucho.quercus.env.Env, com.caucho.quercus.lib.db.MysqliStatement, java.lang.String) |
static Value |
MysqliModule.mysqli_stmt_num_rows(Env env,
MysqliStatement stmt)
Returns the number of rows.
|
static int |
MysqliModule.mysqli_stmt_param_count(Env env,
MysqliStatement stmt)
Returns an integer representing the number of parameters
or -1 if no query has been prepared.
|
static boolean |
MysqliModule.mysqli_stmt_prepare(Env env,
MysqliStatement stmt,
java.lang.String query)
Prepares a statment with a query.
|
static boolean |
MysqliModule.mysqli_stmt_reset(Env env,
MysqliStatement stmt)
Resets a statment.
|
static JdbcResultResource |
MysqliModule.mysqli_stmt_result_metadata(Env env,
MysqliStatement stmt)
Returns result information for metadata
|
static Value |
MysqliModule.mysqli_stmt_sqlstate(Env env,
MysqliStatement stmt)
Returns an error string.
|
static boolean |
MysqliModule.mysqli_stmt_store_result(Env env,
MysqliStatement stmt)
Saves the result.
|
static JdbcResultResource |
MysqliModule.mysqli_store_result(Env env,
Mysqli conn)
Transfers the result set from the last query on the
database connection represented by conn.
|
static Value |
MysqliModule.mysqli_thread_id(Env env,
Mysqli conn)
Query an identifier that corresponds to this specific
connection.
|
static JdbcResultResource |
MysqliModule.mysqli_use_result(Env env,
Mysqli conn)
Initiate a result set retrieval.
|
static int |
MysqliModule.mysqli_warning_count(Env env,
Mysqli conn)
Returns the number of warnings from the last query
in the connection object.
|
static boolean |
OracleModule.oci_bind_array_by_name(Env env,
OracleStatement stmt,
java.lang.String name,
ArrayValue varArray,
int maxTableLength,
int maxItemLength,
int type)
Binds PHP array to Oracle PL/SQL array by name.
|
static boolean |
OracleModule.oci_bind_array_by_name(Env env,
OracleStatement stmt,
java.lang.String name,
ArrayValue varArray,
int maxTableLength,
int maxItemLength,
int type)
Binds PHP array to Oracle PL/SQL array by name.
|
static boolean |
OracleModule.oci_bind_array_by_name(Env env,
OracleStatement stmt,
java.lang.String name,
ArrayValue varArray,
int maxTableLength,
int maxItemLength,
int type)
Binds PHP array to Oracle PL/SQL array by name.
|
static boolean |
OracleModule.oci_bind_array_by_name(Env env,
OracleStatement stmt,
java.lang.String name,
ArrayValue varArray,
int maxTableLength,
int maxItemLength,
int type)
Binds PHP array to Oracle PL/SQL array by name.
|
static boolean |
OracleModule.oci_bind_by_name(Env env,
OracleStatement stmt,
java.lang.String placeholderName,
Value variable,
int maxLength,
int type)
Binds the PHP variable to the Oracle placeholder
|
static boolean |
OracleModule.oci_bind_by_name(Env env,
OracleStatement stmt,
java.lang.String placeholderName,
Value variable,
int maxLength,
int type)
Binds the PHP variable to the Oracle placeholder
|
static boolean |
OracleModule.oci_cancel(Env env,
OracleStatement stmt)
Cancels reading from cursor
|
static boolean |
OracleModule.oci_close(Env env,
Oracle conn)
Closes Oracle connection
|
static boolean |
OracleModule.oci_commit(Env env,
Oracle conn)
Commits outstanding statements
|
static Value |
OracleModule.oci_connect(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Establishes a connection to the Oracle server
|
static Value |
OracleModule.oci_connect(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Establishes a connection to the Oracle server
|
static boolean |
OracleModule.oci_define_by_name(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Uses a PHP variable for the define-step during a SELECT
|
static boolean |
OracleModule.oci_define_by_name(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Uses a PHP variable for the define-step during a SELECT
|
static boolean |
OracleModule.oci_define_by_name(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Uses a PHP variable for the define-step during a SELECT
|
static boolean |
OracleModule.oci_execute(Env env,
OracleStatement stmt,
int mode)
Executes a statement
|
static Value |
OracleModule.oci_fetch_all(Env env,
OracleStatement stmt,
Value output,
int skip,
int maxrows,
int flags)
Fetches all rows of result data into an array
|
static Value |
OracleModule.oci_fetch_all(Env env,
OracleStatement stmt,
Value output,
int skip,
int maxrows,
int flags)
Fetches all rows of result data into an array
|
static Value |
OracleModule.oci_fetch_array(Env env,
OracleStatement stmt,
int mode)
Returns the next row from the result data as an
associative or numeric array, or both
|
static Value |
OracleModule.oci_fetch_assoc(Env env,
OracleStatement stmt)
Returns the next row from the result data as an associative array
|
static Value |
OracleModule.oci_fetch_object(Env env,
OracleStatement stmt)
Returns the next row from the result data as an object
|
static Value |
OracleModule.oci_fetch_row(Env env,
OracleStatement stmt)
Returns the next row from the result data as a numeric array
|
static boolean |
OracleModule.oci_fetch(Env env,
OracleStatement stmt)
Fetches the next row into result-buffer
|
static boolean |
OracleModule.oci_field_is_null(Env env,
OracleStatement stmt,
Value fieldNameOrNumber)
Checks if the field is NULL
|
static boolean |
OracleModule.oci_field_is_null(Env env,
OracleStatement stmt,
Value fieldNameOrNumber)
Checks if the field is NULL
|
static Value |
OracleModule.oci_field_name(Env env,
OracleStatement stmt,
int fieldNumber)
Returns the name of a field from the statement
|
static Value |
OracleModule.oci_field_name(Env env,
OracleStatement stmt,
int fieldNumber)
Returns the name of a field from the statement
|
static LongValue |
OracleModule.oci_field_precision(Env env,
OracleStatement stmt,
int field)
Tell the precision of a field
|
static LongValue |
OracleModule.oci_field_precision(Env env,
OracleStatement stmt,
int field)
Tell the precision of a field
|
static LongValue |
OracleModule.oci_field_scale(Env env,
OracleStatement stmt,
int field)
Tell the scale of the field
|
static LongValue |
OracleModule.oci_field_scale(Env env,
OracleStatement stmt,
int field)
Tell the scale of the field
|
static Value |
OracleModule.oci_field_size(Env env,
OracleStatement stmt,
Value fieldNameOrNumber)
Returns field's size
|
static int |
OracleModule.oci_field_type_raw(Env env,
OracleStatement stmt,
int field)
Tell the raw Oracle data type of the field
|
static Value |
OracleModule.oci_field_type(Env env,
OracleStatement stmt,
int fieldNumber)
Returns field's data type
|
static boolean |
OracleModule.oci_free_statement(Env env,
OracleStatement stmt)
Frees all resources associated with statement or cursor
|
static void |
OracleModule.oci_internal_debug(Env env,
int onoff)
Enables or disables internal debug output
|
static boolean |
OracleModule.oci_lob_copy(Env env,
OracleOciLob lobTo,
OracleOciLob lobFrom,
int length)
Copies large object
|
static boolean |
OracleModule.oci_lob_copy(Env env,
OracleOciLob lobTo,
OracleOciLob lobFrom,
int length)
Copies large object
|
static boolean |
OracleModule.oci_lob_is_equal(Env env,
OracleOciLob lob1,
OracleOciLob lob2)
Compares two LOB/FILE locators for equality
|
static boolean |
OracleModule.oci_lob_is_equal(Env env,
OracleOciLob lob1,
OracleOciLob lob2)
Compares two LOB/FILE locators for equality
|
static OracleOciCollection |
OracleModule.oci_new_collection(Env env,
Oracle conn,
java.lang.String tdo,
java.lang.String schema)
Allocates new collection object
|
static OracleOciCollection |
OracleModule.oci_new_collection(Env env,
Oracle conn,
java.lang.String tdo,
java.lang.String schema)
Allocates new collection object
|
static Value |
OracleModule.oci_new_connect(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Establishes a new connection to the Oracle server
|
static Value |
OracleModule.oci_new_connect(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Establishes a new connection to the Oracle server
|
static OracleStatement |
OracleModule.oci_new_cursor(Env env,
Oracle conn)
Allocates and returns a new cursor (statement handle)
|
static OracleOciLob |
OracleModule.oci_new_descriptor(Env env,
Oracle conn,
int type)
Initializes a new empty LOB or FILE descriptor
|
static Value |
OracleModule.oci_num_fields(Env env,
OracleStatement stmt)
Returns the number of result columns in a statement
|
static LongValue |
OracleModule.oci_num_rows(Env env,
OracleStatement stmt)
Returns number of rows affected during statement execution
Note: This function does not return number of rows selected!
For SELECT statements this function will return the number of rows,
that were fetched to the buffer with oci_fetchxxxx() functions.
|
static OracleStatement |
OracleModule.oci_parse(Env env,
Oracle conn,
java.lang.String query)
Prepares Oracle statement for execution
|
static boolean |
OracleModule.oci_password_change(Env env,
Oracle conn,
java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes password of Oracle's user
|
static boolean |
OracleModule.oci_password_change(Env env,
Oracle conn,
java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes password of Oracle's user
|
static boolean |
OracleModule.oci_password_change(Env env,
Oracle conn,
java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes password of Oracle's user
|
static boolean |
OracleModule.oci_password_change(Env env,
Oracle conn,
java.lang.String username,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes password of Oracle's user
|
static Value |
OracleModule.oci_pconnect(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Connect to an Oracle database using a persistent connection
|
static Value |
OracleModule.oci_pconnect(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Connect to an Oracle database using a persistent connection
|
static Value |
OracleModule.oci_result(Env env,
OracleStatement stmt,
Value field)
Returns field's value from the fetched row
|
static Value |
OracleModule.oci_result(Env env,
OracleStatement stmt,
Value field)
Returns field's value from the fetched row
|
static Value |
OracleModule.oci_rollback(Env env,
Oracle conn)
Rolls back outstanding transaction
|
static java.lang.String |
OracleModule.oci_server_version(Env env,
Oracle conn)
Returns server version
|
static boolean |
OracleModule.oci_set_prefetch(Env env,
OracleStatement stmt,
int rows)
Sets number of rows to be prefetched
|
static java.lang.String |
OracleModule.oci_statement_type(Env env,
OracleStatement stmt)
Returns the type of an OCI statement
|
static boolean |
OracleModule.ocibindbyname(Env env,
OracleStatement stmt,
java.lang.String variable,
Value value,
int maxLength,
int type)
Alias of oci_bind_by_name()
|
static boolean |
OracleModule.ocibindbyname(Env env,
OracleStatement stmt,
java.lang.String variable,
Value value,
int maxLength,
int type)
Alias of oci_bind_by_name()
|
static boolean |
OracleModule.ocibindbyname(Env env,
OracleStatement stmt,
java.lang.String variable,
Value value,
int maxLength,
int type)
Alias of oci_bind_by_name()
|
static boolean |
OracleModule.ocicancel(Env env,
OracleStatement stmt)
Alias of oci_cancel()
|
static Value |
OracleModule.ocicloselob(Env env,
Oracle conn)
Alias of OCI-Lob->close
|
static Value |
OracleModule.ocicollappend(Env env,
Oracle conn)
Alias of OCI-Collection->append
|
static Value |
OracleModule.ocicollassign(Env env,
Oracle conn)
Alias of OCI-Collection->assign
|
static Value |
OracleModule.ocicollassignelem(Env env,
Oracle conn)
Alias of OCI-Collection->assignElem
|
static Value |
OracleModule.ocicollgetelem(Env env,
Oracle conn)
Alias of OCI-Collection->getElem
|
static Value |
OracleModule.ocicollmax(Env env,
Oracle conn)
Alias of OCI-Collection->max
|
static Value |
OracleModule.ocicollsize(Env env,
Oracle conn)
Alias of OCI-Collection->size
|
static Value |
OracleModule.ocicolltrim(Env env,
Oracle conn)
Alias of OCI-Collection->trim
|
static boolean |
OracleModule.ocicolumnisnull(Env env,
OracleStatement stmt,
Value field)
Alias of oci_field_is_null()
|
static boolean |
OracleModule.ocicolumnisnull(Env env,
OracleStatement stmt,
Value field)
Alias of oci_field_is_null()
|
static Value |
OracleModule.ocicolumnname(Env env,
OracleStatement stmt,
int fieldNumber)
Alias of oci_field_name()
|
static Value |
OracleModule.ocicolumnname(Env env,
OracleStatement stmt,
int fieldNumber)
Alias of oci_field_name()
|
static Value |
OracleModule.ocicolumnprecision(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_precision()
|
static Value |
OracleModule.ocicolumnprecision(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_precision()
|
static Value |
OracleModule.ocicolumnscale(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_scale()
|
static Value |
OracleModule.ocicolumnscale(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_scale()
|
static Value |
OracleModule.ocicolumnsize(Env env,
OracleStatement stmt,
Value field)
Alias of oci_field_size()
|
static Value |
OracleModule.ocicolumntype(Env env,
OracleStatement stmt,
int fieldNumber)
Alias of oci_field_type()
|
static int |
OracleModule.ocicolumntyperaw(Env env,
OracleStatement stmt,
int field)
Alias of oci_field_type_raw()
|
static boolean |
OracleModule.ocicommit(Env env,
Oracle conn)
Alias of oci_commit()
|
static boolean |
OracleModule.ocidefinebyname(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Alias of oci_define_by_name()
|
static boolean |
OracleModule.ocidefinebyname(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Alias of oci_define_by_name()
|
static boolean |
OracleModule.ocidefinebyname(Env env,
OracleStatement stmt,
java.lang.String columnName,
Value variable,
int type)
Alias of oci_define_by_name()
|
static boolean |
OracleModule.ociexecute(Env env,
OracleStatement stmt,
int mode)
Alias of oci_execute()
|
static boolean |
OracleModule.ocifetch(Env env,
OracleStatement stmt)
Alias of oci_fetch()
|
static Value |
OracleModule.ocifetchinto(Env env,
OracleStatement stmt,
Value result,
int mode)
Fetches the next row into an array
|
static Value |
OracleModule.ocifetchstatement(Env env,
OracleStatement stmt,
Value output,
int skip,
int maxrows,
int flags)
Alias of oci_fetch_all()
|
static Value |
OracleModule.ocifetchstatement(Env env,
OracleStatement stmt,
Value output,
int skip,
int maxrows,
int flags)
Alias of oci_fetch_all()
|
static Value |
OracleModule.ocifreecollection(Env env,
Oracle conn)
Alias of OCI-Collection->free
|
static boolean |
OracleModule.ocifreecursor(Env env,
OracleStatement stmt)
Alias of oci_free_statement()
|
static Value |
OracleModule.ocifreedesc(Env env,
Oracle conn)
Alias of OCI-Lob->free
|
static boolean |
OracleModule.ocifreestatement(Env env,
OracleStatement stmt)
Alias of oci_free_statement()
|
static void |
OracleModule.ociinternaldebug(Env env,
int onoff)
Alias of oci_internal_debug()
|
static Value |
OracleModule.ociloadlob(Env env,
Oracle conn)
Alias of OCI-Lob->load
|
static boolean |
OracleModule.ocilogoff(Env env,
Oracle conn)
Alias of oci_close()
|
static Value |
OracleModule.ocilogon(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Alias of oci_connect()
|
static Value |
OracleModule.ocilogon(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Alias of oci_connect()
|
static OracleOciCollection |
OracleModule.ocinewcollection(Env env,
Oracle conn,
java.lang.String tdo,
java.lang.String schema)
Alias of oci_new_collection()
|
static OracleOciCollection |
OracleModule.ocinewcollection(Env env,
Oracle conn,
java.lang.String tdo,
java.lang.String schema)
Alias of oci_new_collection()
|
static OracleStatement |
OracleModule.ocinewcursor(Env env,
Oracle conn)
Alias of oci_new_cursor()
|
static OracleOciLob |
OracleModule.ocinewdescriptor(Env env,
Oracle conn,
int type)
Alias of oci_new_descriptor()
|
static Value |
OracleModule.ocinlogon(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Alias of oci_new_connect()
|
static Value |
OracleModule.ocinlogon(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Alias of oci_new_connect()
|
static Value |
OracleModule.ocinumcols(Env env,
OracleStatement stmt)
Alias of oci_num_fields()
|
static OracleStatement |
OracleModule.ociparse(Env env,
Oracle conn,
java.lang.String query)
Alias of oci_parse()
|
static OracleStatement |
OracleModule.ociparse(Env env,
Oracle conn,
java.lang.String query)
Alias of oci_parse()
|
static Value |
OracleModule.ociplogon(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Alias of oci_pconnect()
|
static Value |
OracleModule.ociplogon(Env env,
java.lang.String username,
java.lang.String password,
java.lang.String db,
java.lang.String charset,
int sessionMode)
Alias of oci_pconnect()
|
static Value |
OracleModule.ociresult(Env env,
OracleStatement stmt,
Value field)
Alias of oci_result()
|
static Value |
OracleModule.ociresult(Env env,
OracleStatement stmt,
Value field)
Alias of oci_result()
|
static Value |
OracleModule.ocirollback(Env env,
Oracle conn)
Alias of oci_rollback()
|
static Value |
OracleModule.ocirowcount(Env env,
OracleStatement stmt)
Alias of oci_num_rows()
|
static Value |
OracleModule.ocisavelob(Env env,
Oracle conn)
Alias of OCI-Lob->save
|
static Value |
OracleModule.ocisavelobfile(Env env,
Oracle conn)
Alias of OCI-Lob->import
|
static java.lang.String |
OracleModule.ociserverversion(Env env,
Oracle conn)
Alias of oci_server_version()
|
static boolean |
OracleModule.ocisetprefetch(Env env,
OracleStatement stmt,
int rows)
Alias of oci_set_prefetch()
|
static java.lang.String |
OracleModule.ocistatementtype(Env env,
OracleStatement stmt)
Alias of oci_statement_type()
|
static Value |
OracleModule.ociwritelobtofile(Env env,
Oracle conn)
Alias of OCI-Lob->export
|
static Value |
OracleModule.ociwritetemporarylob(Env env,
Oracle conn)
Alias of OCI-Lob->writeTemporary
|
static int |
PostgresModule.pg_affected_rows(Env env,
PostgresResult result)
Returns number of affected records (tuples)
|
static boolean |
PostgresModule.pg_cancel_query(Env env,
Postgres conn)
Cancel an asynchronous query
|
static int |
PostgresModule.pg_cmdtuples(Env env,
PostgresResult result)
pg_affected_rows() alias.
|
static boolean |
PostgresModule.pg_connection_busy(Env env,
Postgres conn)
Get connection is busy or not
|
static boolean |
PostgresModule.pg_connection_reset(Env env,
Postgres conn)
Reset connection (reconnect)
|
static int |
PostgresModule.pg_connection_status(Env env,
Postgres conn)
Get connection status
|
static ArrayValue |
PostgresModule.pg_convert(Env env,
Postgres conn,
java.lang.String tableName,
ArrayValue assocArray,
int options)
Convert associative array values into suitable for SQL statement
|
static boolean |
PostgresModule.pg_copy_from(Env env,
Postgres conn,
java.lang.String tableName,
ArrayValue rows,
java.lang.String delimiter,
java.lang.String nullAs)
Insert records into a table from an array
|
static ArrayValue |
PostgresModule.pg_copy_to(Env env,
Postgres conn,
java.lang.String tableName,
java.lang.String delimiter,
java.lang.String nullAs)
Copy a table to an array
|
static boolean |
PostgresModule.pg_delete(Env env,
Postgres conn,
java.lang.String tableName,
ArrayValue assocArray,
int options)
Deletes records
|
static StringValue |
PostgresModule.pg_escape_bytea(Env env,
Postgres conn,
StringValue data)
Escape a string for insertion into a bytea field.
|
static PostgresResult |
PostgresModule.pg_exec(Env env,
Postgres conn,
java.lang.String query)
pg_query() alias
|
static PostgresResult |
PostgresModule.pg_execute(Env env,
Postgres conn,
java.lang.String stmtName,
ArrayValue params)
Sends a request to execute a prepared statement with given parameters,
and waits for the result
|
static ArrayValue |
PostgresModule.pg_fetch_all_columns(Env env,
PostgresResult result,
LongValue column)
Fetches all rows in a particular result column as an array
|
static ArrayValue |
PostgresModule.pg_fetch_all(Env env,
PostgresResult result)
Fetches all rows from a result as an array
|
static Value |
PostgresModule.pg_fetch_array(Env env,
PostgresResult result,
Value row,
int resultType)
Fetch a row as an array
|
static Value |
PostgresModule.pg_fetch_assoc(Env env,
PostgresResult result,
Value row)
Fetch a row as an associative array
|
static Value |
PostgresModule.pg_fetch_object(Env env,
PostgresResult result,
Value row,
int resultType)
Fetch a row as an object
|
static Value |
PostgresModule.pg_fetch_result(Env env,
PostgresResult result,
Value row,
Value fieldNameOrNumber)
Returns values from a result resource
|
static Value |
PostgresModule.pg_fetch_row(Env env,
PostgresResult result,
Value row)
Get a row as an enumerated array
|
static LongValue |
PostgresModule.pg_field_is_null(Env env,
PostgresResult result,
Value row,
Value fieldNameOrNumber)
Test if a field is SQL NULL
|
static Value |
PostgresModule.pg_field_name(Env env,
PostgresResult result,
int fieldNumber)
Returns the name of a field
|
static int |
PostgresModule.pg_field_num(Env env,
PostgresResult result,
java.lang.String fieldName)
Returns the field number of the named field
|
static int |
PostgresModule.pg_field_prtlen(Env env,
PostgresResult result,
Value rowNumber,
Value fieldNameOrNumber)
Returns the printed length
|
static LongValue |
PostgresModule.pg_field_size(Env env,
PostgresResult result,
int fieldNumber)
Returns the internal storage size of the named field
|
static java.lang.String |
PostgresModule.pg_field_table(Env env,
PostgresResult result,
int fieldNumber,
boolean oidOnly)
Returns the name or oid of the tables field
|
static LongValue |
PostgresModule.pg_field_type_oid(Env env,
PostgresResult result,
int fieldNumber)
Returns the type ID (OID) for the corresponding field number
|
static StringValue |
PostgresModule.pg_field_type(Env env,
PostgresResult result,
int fieldNumber)
Returns the type name for the corresponding field number
|
static LongValue |
PostgresModule.pg_fieldisnull(Env env,
PostgresResult result,
Value row,
Value fieldNameOrNumber)
pg_field_is_null() alias.
|
static Value |
PostgresModule.pg_fieldname(Env env,
PostgresResult result,
int fieldNumber)
pg_field_name() alias.
|
static int |
PostgresModule.pg_fieldnum(Env env,
PostgresResult result,
java.lang.String fieldName)
pg_field_num() alias.
|
static int |
PostgresModule.pg_fieldprtlen(Env env,
PostgresResult result,
Value rowNumber,
Value fieldNameOrNumber)
pg_field_ptrlen() alias.
|
static LongValue |
PostgresModule.pg_fieldsize(Env env,
PostgresResult result,
int fieldNumber)
pg_field_size() alias.
|
static StringValue |
PostgresModule.pg_fieldtype(Env env,
PostgresResult result,
int fieldNumber)
pg_field_type() alias.
|
static ArrayValue |
PostgresModule.pg_get_notify(Env env,
Postgres conn,
int resultType)
Gets SQL NOTIFY message
|
static int |
PostgresModule.pg_get_pid(Env env,
Postgres conn)
Gets the backend's process ID
|
static boolean |
PostgresModule.pg_insert(Env env,
Postgres conn,
java.lang.String tableName,
ArrayValue assocArray,
int options)
Insert array into table
|
static java.lang.String |
PostgresModule.pg_last_notice(Env env,
Postgres conn)
Returns the last notice message from PostgreSQL server
|
static boolean |
PostgresModule.pg_lo_export(Env env,
Postgres conn,
int oid,
Path path)
Export a large object to a file
|
static LongValue |
PostgresModule.pg_lo_import(Env env,
Postgres conn,
Path path)
Import a large object from file
|
static java.lang.Object |
PostgresModule.pg_lo_open(Env env,
Postgres conn,
int oid,
java.lang.String mode)
Open a large object
|
static boolean |
PostgresModule.pg_lo_unlink(Env env,
Postgres conn,
int oid)
Delete a large object
|
static LongValue |
PostgresModule.pg_lo_write(Env env,
java.lang.Object largeObject,
java.lang.String data,
int len)
Write to a large object
|
static boolean |
PostgresModule.pg_loexport(Env env,
Postgres conn,
int oid,
Path path)
pg_lo_export() alias.
|
static LongValue |
PostgresModule.pg_loimport(Env env,
Postgres conn,
Path path)
pg_lo_import() alias.
|
static java.lang.Object |
PostgresModule.pg_loopen(Env env,
Postgres conn,
int oid,
java.lang.String mode)
pg_lo_open() alias.
|
static boolean |
PostgresModule.pg_lounlink(Env env,
Postgres conn,
int oid)
pg_lo_unlink() alias.
|
static LongValue |
PostgresModule.pg_lowrite(Env env,
java.lang.Object largeObject,
java.lang.String data,
int len)
pg_lo_write() alias.
|
static ArrayValue |
PostgresModule.pg_meta_data(Env env,
Postgres conn,
java.lang.String tableName)
Get meta data for table
|
static int |
PostgresModule.pg_num_fields(Env env,
PostgresResult result)
Returns the number of fields in a result
|
static LongValue |
PostgresModule.pg_num_rows(Env env,
PostgresResult result)
Returns the number of rows in a result
|
static int |
PostgresModule.pg_numfields(Env env,
PostgresResult result)
pg_num_fields() alias.
|
static LongValue |
PostgresModule.pg_numrows(Env env,
PostgresResult result)
pg_num_rows() alias.
|
static Value |
PostgresModule.pg_parameter_status(Env env,
Postgres conn,
StringValue paramName)
Looks up a current parameter setting of the server
|
static Value |
PostgresModule.pg_parameter_status(Env env,
Postgres conn,
StringValue paramName)
Looks up a current parameter setting of the server
|
static Value |
PostgresModule.pg_parameter_status(Env env,
StringValue paramName)
Looks up a current parameter setting of the server
|
static PostgresStatement |
PostgresModule.pg_prepare(Env env,
Postgres conn,
java.lang.String stmtName,
java.lang.String query)
Submits a request to create a prepared statement with the given parameters,
and waits for completion
|
static boolean |
PostgresModule.pg_put_line(Env env,
Postgres conn,
java.lang.String data)
Send a NULL-terminated string to PostgreSQL backend
|
static PostgresResult |
PostgresModule.pg_query_params(Env env,
Postgres conn,
java.lang.String query,
ArrayValue params)
Submits a command to the server and waits for the result,
with the ability to pass parameters separately from the SQL command text
|
static PostgresResult |
PostgresModule.pg_query(Env env,
Postgres conn,
java.lang.String query)
Execute a query
|
static PostgresResult |
PostgresModule.pg_query(Env env,
Postgres conn,
java.lang.String query)
Execute a query
|
static PostgresResult |
PostgresModule.pg_query(Env env,
java.lang.String query)
Execute a query
|
static Value |
PostgresModule.pg_result_error_field(Env env,
PostgresResult result,
int fieldCode)
Returns an individual field of an error report
|
static boolean |
PostgresModule.pg_result_seek(Env env,
PostgresResult result,
int offset)
Set internal row offset in result resource
|
static int |
PostgresModule.pg_result_status(Env env,
PostgresResult result,
int type)
Get status of query result
|
static Value |
PostgresModule.pg_result(Env env,
PostgresResult result,
Value row,
Value fieldNameOrNumber)
Returns values from a result resource
|
static ArrayValue |
PostgresModule.pg_select(Env env,
Postgres conn,
java.lang.String tableName,
ArrayValue assocArray,
int options)
Select records
|
static boolean |
PostgresModule.pg_send_execute(Env env,
Postgres conn,
java.lang.String stmtName,
ArrayValue params)
Sends a request to execute a prepared statement with given parameters,
without waiting for the result(s)
|
static boolean |
PostgresModule.pg_send_prepare(Env env,
Postgres conn,
java.lang.String stmtName,
java.lang.String query)
Sends a request to create a prepared statement with the given parameters,
without waiting for completion
|
static boolean |
PostgresModule.pg_send_query_params(Env env,
Postgres conn,
java.lang.String query,
ArrayValue params)
Submits a command and separate parameters to the server
without waiting for the result(s)
|
static boolean |
PostgresModule.pg_send_query(Env env,
Postgres conn,
java.lang.String query)
Sends asynchronous query
|
static int |
PostgresModule.pg_set_client_encoding(Env env,
Postgres conn,
java.lang.String encoding)
Set the client encoding
|
static int |
PostgresModule.pg_set_error_verbosity(Env env,
Postgres conn,
int intVerbosity)
Determines the verbosity of messages returned
by pg_last_error() and pg_result_error()
|
static boolean |
PostgresModule.pg_update(Env env,
Postgres conn,
java.lang.String tableName,
ArrayValue data,
ArrayValue condition,
int options)
Update table
|
boolean |
OracleOciLob.save(Env env,
java.lang.String data,
long offset)
Saves data to the large object
|
Modifier and Type | Method and Description |
---|---|
static DOMDocumentType |
DOMImplementation.createDocumentType(Env env,
java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId) |
Modifier and Type | Method and Description |
---|---|
static Value |
FileModule.closedir(Env env,
Directory dir)
Closes the directory
|
static boolean |
FileModule.fclose(Env env,
BinaryStream s)
Closes a file.
|
static boolean |
FileModule.feof(Env env,
BinaryStream binaryStream)
Checks for the end of file.
|
static boolean |
FileModule.fflush(Env env,
BinaryOutput os)
Flushes a file.
|
static Value |
FileModule.fgetc(Env env,
BinaryInput is)
Returns the next character as a byte
|
Value |
FileModule.fgetcsv(Env env,
BinaryInput is,
int length,
java.lang.String delimiter,
java.lang.String enclosure)
Parses a comma-separated-value line from a file.
|
static Value |
FileModule.fgets(Env env,
BinaryInput is,
int length)
Returns the next line
|
static Value |
FileModule.filetype(Env env,
Path path)
Returns the file's type
|
Value |
FileModule.fpassthru(Env env,
BinaryInput is)
Output the filepointer data to the output stream.
|
Value |
FileModule.fputcsv(Env env,
BinaryOutput os,
ArrayValue value,
StringValue delimiter,
StringValue enclosure)
Parses a comma-separated-value line from a file.
|
Value |
FileModule.fputcsv(Env env,
BinaryOutput os,
ArrayValue value,
StringValue delimiter,
StringValue enclosure)
Parses a comma-separated-value line from a file.
|
static Value |
FileModule.fread(Env env,
BinaryInput is,
int length)
Reads content from a file.
|
static Value |
FileModule.fscanf(Env env,
BinaryInput is,
StringValue format,
Value[] args)
Reads and parses a line.
|
static Value |
FileModule.fseek(Env env,
BinaryStream binaryStream,
long offset,
int whence)
Sets the current position.
|
static Value |
FileModule.fstat(Env env,
BinaryStream stream)
Returns the status of the given file pointer.
|
static Value |
FileModule.ftell(Env env,
BinaryStream binaryStream)
Returns the current position.
|
static boolean |
FileModule.ftruncate(Env env,
BinaryOutput handle,
long size)
Truncates a file.
|
static Value |
FileModule.fwrite(Env env,
BinaryOutput os,
java.io.InputStream value,
int length)
Writes a string to the file.
|
static boolean |
FileModule.is_executable(Env env,
Path path)
Returns true if the path is an executable file
|
static boolean |
FileModule.is_file(Path path)
Returns true if the path is a file.
|
static boolean |
FileModule.is_link(Env env,
Path path)
Returns true if the path is a symbolic link
|
static boolean |
FileModule.is_uploaded_file(Env env,
Path path)
Returns true for an uploaded file.
|
static boolean |
FileModule.move_uploaded_file(Env env,
Path src,
StringValue dst)
Moves the uploaded file.
|
static int |
FileModule.pclose(Env env,
BinaryStream stream) |
static BinaryStream |
FileModule.popen(Env env,
java.lang.String command,
StringValue mode) |
static BinaryStream |
FileModule.popen(Env env,
java.lang.String command,
StringValue mode) |
static Value |
FileModule.readdir(Env env,
Directory dir)
Reads the next entry
|
static Value |
FileModule.rewind(Env env,
BinaryStream binaryStream)
Rewinds the stream.
|
static void |
FileModule.rewinddir(Env env,
Directory dir)
Rewinds the directory listing
|
static boolean |
SocketModule.socket_bind(Env env,
SocketInputOutput socket,
StringValue address,
int port) |
static void |
SocketModule.socket_close(Env env,
SocketInputOutput socket) |
static boolean |
SocketModule.socket_connect(Env env,
SocketInputOutput socket,
StringValue address,
int port) |
static Value |
SocketModule.socket_read(Env env,
SocketInputOutput socket,
int length,
int type) |
static boolean |
SocketModule.socket_set_timeout(Env env,
Value stream,
int seconds,
int milliseconds) |
boolean |
SocketModule.socket_shutdown(Env env,
SocketInputOutput file,
int how)
Closes a socket.
|
static Value |
SocketModule.socket_write(Env env,
SocketInputOutput socket,
java.io.InputStream is,
int length) |
static Value |
SocketModule.socket_write(Env env,
SocketInputOutput socket,
java.io.InputStream is,
int length) |
static long |
StreamModule.stream_copy_to_stream(Env env,
BinaryInput in,
BinaryOutput out,
int length,
int offset)
Copies from an input stream to an output stream
|
static long |
StreamModule.stream_copy_to_stream(Env env,
BinaryInput in,
BinaryOutput out,
int length,
int offset)
Copies from an input stream to an output stream
|
static Value |
StreamModule.stream_get_contents(Env env,
BinaryInput in,
long maxLen,
long offset)
Returns the rest of the file as a string
|
static Value |
StreamModule.stream_get_line(Env env,
BinaryInput file,
long length)
Returns the next line
|
static boolean |
StreamModule.stream_set_blocking(Env env,
Value stream,
int mode)
stream_set_blocking is stubbed since Quercus should wait for
any stream (unless a non-web-server Quercus is developed.)
|
static boolean |
StreamModule.stream_set_timeout(Env env,
Value stream,
int seconds,
int microseconds) |
static SocketInputOutput |
StreamModule.stream_socket_client(Env env,
java.lang.String remoteSocket,
Value errorInt,
Value errorStr,
double timeout,
int flags,
StreamContextResource context)
Opens an Internet connection.
|
Modifier and Type | Method and Description |
---|---|
static Value |
ImageModule.imagefttext(Env env,
QuercusImage image,
double size,
double angle,
int x,
int y,
int color,
StringValue fontFile,
java.lang.String text,
ArrayValue extra)
draws a true type font image
|
static int |
ImageModule.imagesx(QuercusImage image)
Returns the width of the image.
|
static int |
ImageModule.imagesy(QuercusImage image)
Returns the height of the image.
|
static Value |
ImageModule.imagettftext(Env env,
QuercusImage image,
double size,
double angle,
int x,
int y,
int color,
StringValue fontFile,
java.lang.String text)
draws a true type font image
|
Modifier and Type | Method and Description |
---|---|
boolean |
JMSQueue.send(Value value,
JMSQueue replyTo) |
Modifier and Type | Method and Description |
---|---|
int |
PDF.charCount(double width,
PDFFont font,
double size) |
static boolean |
PDFModule.pdf_activate_item(Env env,
PDF pdf,
int id)
Activates a created element.
|
static boolean |
PDFModule.pdf_add_annotation(Env env,
PDF pdf)
Adds an annotation
|
static boolean |
PDFModule.pdf_add_bookmark(Env env,
PDF pdf)
Adds an bookmarkannotation
|
static boolean |
PDFModule.pdf_add_launchlink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String filename)
Adds an launchlink
|
static boolean |
PDFModule.pdf_add_locallink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
int page,
java.lang.String dest)
Adds a locallink
|
static boolean |
PDFModule.pdf_add_nameddest(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optlist)
Creates a named destination
|
static boolean |
PDFModule.pdf_add_note(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String contents,
java.lang.String title,
java.lang.String icon,
int open)
Creates an annotation
|
static boolean |
PDFModule.pdf_add_outline(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optlist)
Creates an outline
|
static boolean |
PDFModule.pdf_add_pdflink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String filename,
int page,
java.lang.String dest)
Creates a file link annotation
|
static boolean |
PDFModule.pdf_add_thumbnail(Env env,
PDF pdf,
PDFImage image)
Adds a thumbnail
|
static boolean |
PDFModule.pdf_add_thumbnail(Env env,
PDF pdf,
PDFImage image)
Adds a thumbnail
|
static boolean |
PDFModule.pdf_add_weblink(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String url)
Adds a web link
|
static boolean |
PDFModule.pdf_arc(PDF pdf,
double x1,
double y1,
double r,
double a,
double b)
Creates a counterclockwise arc
|
static boolean |
PDFModule.pdf_arcn(PDF pdf,
double x1,
double y1,
double r,
double a,
double b)
Creates a clockwise arc
|
static boolean |
PDFModule.pdf_attach_file(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String filename,
java.lang.String description,
java.lang.String author,
java.lang.String mimetype,
java.lang.String icon)
Adds a file attachment
|
static boolean |
PDFModule.pdf_begin_document(PDF pdf,
java.lang.String fileName,
java.lang.String optList)
Starts the document.
|
static boolean |
PDFModule.pdf_begin_font(Env env,
PDF pdf,
java.lang.String fileName,
double a,
double b,
double c,
double d,
double e,
double f,
java.lang.String optList)
Starts a font definition
|
static boolean |
PDFModule.pdf_begin_glyph(Env env,
PDF pdf,
java.lang.String glyphname,
double wx,
double llx,
double lly,
double urx,
double ury)
Starts a glyph definition
|
static boolean |
PDFModule.pdf_begin_item(Env env,
PDF pdf,
java.lang.String tag,
java.lang.String optlist)
Starts a structure element
|
static boolean |
PDFModule.pdf_begin_layer(Env env,
PDF pdf,
int layer)
Starts a pdf layer
|
static boolean |
PDFModule.pdf_begin_page_ext(PDF pdf,
double w,
double h,
java.lang.String optlist)
Starts the page.
|
static boolean |
PDFModule.pdf_begin_page(PDF pdf,
double w,
double h)
Starts the page.
|
static boolean |
PDFModule.pdf_begin_pattern(Env env,
PDF pdf,
double w,
double h,
double xStep,
double yStep,
int paintType)
Starts a pattern
|
static boolean |
PDFModule.pdf_begin_template(Env env,
PDF pdf,
double w,
double h)
Starts a template
|
static boolean |
PDFModule.pdf_circle(PDF pdf,
double x,
double y,
double r)
Draws a circle
|
static boolean |
PDFModule.pdf_clip(PDF pdf)
Clips the path.
|
static boolean |
PDFModule.pdf_close_image(Env env,
PDF pdf,
PDFImage image)
Closes an image
|
static boolean |
PDFModule.pdf_close_pdi_page(Env env,
PDF pdf,
int page)
Closes a page
|
static boolean |
PDFModule.pdf_close_pdi(Env env,
PDF pdf,
int doc)
Closes a document
|
static boolean |
PDFModule.pdf_close(PDF pdf)
Closes the pdf document.
|
static boolean |
PDFModule.pdf_closepath_fill_stroke(PDF pdf)
Closes the path, fill, and stroke it.
|
static boolean |
PDFModule.pdf_closepath_stroke(PDF pdf)
Closes the path and stroke it.
|
static boolean |
PDFModule.pdf_closepath(PDF pdf)
Closes the path.
|
static boolean |
PDFModule.pdf_concat(PDF pdf,
double a,
double b,
double c,
double d,
double e,
double f)
Concatenates a transformation matrix
|
static boolean |
PDFModule.pdf_continue_text(PDF pdf,
java.lang.String text)
Continues text at the next line.
|
static boolean |
PDFModule.pdf_create_action(Env env,
PDF pdf,
java.lang.String type,
java.lang.String optList)
Creates an action.
|
static boolean |
PDFModule.pdf_create_annotation(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String type,
java.lang.String optList)
Creates a rectangular annotation
|
static boolean |
PDFModule.pdf_create_bookmark(Env env,
PDF pdf,
java.lang.String text,
java.lang.String optList)
Creates a bookmark
|
static boolean |
PDFModule.pdf_create_field(Env env,
PDF pdf,
double llx,
double lly,
double urx,
double ury,
java.lang.String name,
java.lang.String type,
java.lang.String optList)
Creates a form field.
|
static boolean |
PDFModule.pdf_create_fieldgroup(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optList)
Creates a form field group.
|
static boolean |
PDFModule.pdf_create_gstate(Env env,
PDF pdf,
java.lang.String optList)
Creates a graphics state
|
static boolean |
PDFModule.pdf_create_pvf(Env env,
PDF pdf,
java.lang.String filename,
java.lang.String data,
java.lang.String optList)
Creates a virtual file
|
static boolean |
PDFModule.pdf_create_textflow(Env env,
PDF pdf,
java.lang.String text,
java.lang.String optList)
Creates a textflow object
|
static boolean |
PDFModule.pdf_curveto(PDF pdf,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Draws a bezier curve
|
static boolean |
PDFModule.pdf_define_layer(Env env,
PDF pdf,
java.lang.String name,
java.lang.String optList)
Creates a layer
|
static boolean |
PDFModule.pdf_delete_pvf(Env env,
PDF pdf,
java.lang.String name)
Delete a virtual file
|
static boolean |
PDFModule.pdf_delete_textflow(Env env,
PDF pdf,
int textflow)
Delete a textflow object
|
static boolean |
PDFModule.pdf_delete(PDF pdf)
Delete the pdf object.
|
static boolean |
PDFModule.pdf_encoding_set_char(Env env,
PDF pdf,
java.lang.String encoding,
int slow,
java.lang.String glyphname,
int uv)
Adds a glyph to a custom encoding.
|
static boolean |
PDFModule.pdf_end_document(PDF pdf,
java.lang.String optlist)
Completes the document.
|
static boolean |
PDFModule.pdf_end_font(Env env,
PDF pdf)
Completes a font definition
|
static boolean |
PDFModule.pdf_end_glyph(Env env,
PDF pdf)
Completes a glyph definition
|
static boolean |
PDFModule.pdf_end_item(Env env,
PDF pdf,
int id)
Completes a structure element.
|
static boolean |
PDFModule.pdf_end_layer(Env env,
PDF pdf)
Completes a layer
|
static boolean |
PDFModule.pdf_end_page_ext(PDF pdf,
java.lang.String optlist)
Completes a page
|
static boolean |
PDFModule.pdf_end_page(PDF pdf)
Completes a page
|
static boolean |
PDFModule.pdf_end_path(PDF pdf)
End the current path.
|
static boolean |
PDFModule.pdf_end_pattern(Env env,
PDF pdf)
Completes a pattern
|
static boolean |
PDFModule.pdf_end_template(Env env,
PDF pdf)
Completes a template
|
static boolean |
PDFModule.pdf_fill_imageblock(Env env,
PDF pdf,
int page,
java.lang.String blockname,
int image,
java.lang.String optlist)
Fill the image with data.
|
static boolean |
PDFModule.pdf_fill_pdfblock(Env env,
PDF pdf,
int page,
java.lang.String blockname,
int contents,
java.lang.String optlist)
Fill the pdfblock with data.
|
static boolean |
PDFModule.pdf_fill_stroke(PDF pdf)
Fill and stroke the path.
|
static boolean |
PDFModule.pdf_fill_textblock(Env env,
PDF pdf,
int page,
java.lang.String block,
java.lang.String text,
java.lang.String optlist)
Fill the text with data.
|
static boolean |
PDFModule.pdf_fill(PDF pdf)
Fill the path.
|
static boolean |
PDFModule.pdf_findfont(Env env,
PDF pdf,
java.lang.String fontname,
java.lang.String encoding,
int embed)
Loads a font.
|
static boolean |
PDFModule.pdf_fit_image(PDF pdf,
PDFImage image,
double x,
double y,
java.lang.String optlist)
Place an image
|
static boolean |
PDFModule.pdf_fit_image(PDF pdf,
PDFImage image,
double x,
double y,
java.lang.String optlist)
Place an image
|
static boolean |
PDFModule.pdf_fit_pdi_page(Env env,
PDF pdf,
int page,
double x,
double y,
java.lang.String optlist)
Place an embedded pdf
|
static boolean |
PDFModule.pdf_fit_textflow(Env env,
PDF pdf,
int textflow,
double llx,
double lly,
double urx,
double ury,
java.lang.String optlist)
Place a textflow object
|
static boolean |
PDFModule.pdf_fit_textline(Env env,
PDF pdf,
java.lang.String text,
double x,
double y,
java.lang.String optlist)
Place a line of text.
|
static java.lang.String |
PDFModule.pdf_get_apiname(Env env,
PDF pdf)
Returns the name of the last failing function.
|
static Value |
PDFModule.pdf_get_buffer(Env env,
PDF pdf)
Returns the buffer with the data.
|
static double |
PDFModule.pdf_get_image_height(PDFImage image)
Returns the height of an image.
|
static double |
PDFModule.pdf_get_image_width(PDFImage image)
Returns the width of an image.
|
static java.lang.String |
PDFModule.pdf_get_parameter(PDF pdf,
java.lang.String key,
double modifier)
Returns the named parameter.
|
static java.lang.String |
PDFModule.pdf_get_pdi_parameter(Env env,
PDF pdf,
java.lang.String key,
int doc,
int page,
int reserved)
Returns the named pdi parameter.
|
static double |
PDFModule.pdf_get_pdi_value(Env env,
PDF pdf,
java.lang.String key,
int doc,
int page,
int reserved)
Returns the named pdi value.
|
static double |
PDFModule.pdf_get_value(PDF pdf,
java.lang.String key,
double modifier)
Returns the named parameter.
|
static double |
PDFModule.pdf_info_textflow(Env env,
PDF pdf,
int textflow,
java.lang.String key)
Returns the textflow state
|
static boolean |
PDFModule.pdf_initgraphics(Env env,
PDF pdf)
Resets the graphic state
|
static boolean |
PDFModule.pdf_lineto(PDF pdf,
double x,
double y)
Draw a line from the current position.
|
static PDFFont |
PDFModule.pdf_load_font(PDF pdf,
java.lang.String fontname,
java.lang.String encoding,
java.lang.String optlist)
Search for a font.
|
static boolean |
PDFModule.pdf_load_iccprofile(Env env,
PDF pdf,
java.lang.String profileName,
java.lang.String optlist)
Search for an icc profile
|
static PDFImage |
PDFModule.pdf_load_image(PDF pdf,
java.lang.String imageType,
Path path,
java.lang.String optlist)
Loads an image
|
static boolean |
PDFModule.pdf_makespotcolor(Env env,
PDF pdf,
java.lang.String spotname)
Finds a spot color
|
static boolean |
PDFModule.pdf_moveto(PDF pdf,
double x,
double y)
Sets the current graphics point.
|
static boolean |
PDFModule.pdf_open_file(PDF pdf,
java.lang.String filename)
Opens a file.
|
static boolean |
PDFModule.pdf_open_image_data(Env env,
PDF pdf,
java.lang.String imagetype,
java.lang.String source,
java.lang.String data,
long length,
long width,
long height,
int components,
int bpc,
java.lang.String params)
Opens an image.
|
static PDFImage |
PDFModule.pdf_open_image_file(PDF pdf,
java.lang.String imagetype,
Path filename,
java.lang.String stringparam,
int intparam)
Opens an image.
|
static boolean |
PDFModule.pdf_open_pdi_page(Env env,
PDF pdf,
int doc,
int pagenumber,
java.lang.String optlist)
Opens an embedded page.
|
static boolean |
PDFModule.pdf_open_pdi(Env env,
PDF pdf,
java.lang.String filename,
java.lang.String optlist)
Opens an embedded document
|
static boolean |
PDFModule.pdf_place_image(PDF pdf,
PDFImage image,
double x,
double y,
double scale)
Place an image.
|
static boolean |
PDFModule.pdf_place_pdi_page(Env env,
PDF pdf,
int page,
double x,
double y,
double scaleX,
double scaleY)
Place an embedded page.
|
static boolean |
PDFModule.pdf_process_pdi(Env env,
PDF pdf,
int doc,
int page,
java.lang.String optlist)
Process an imported PDF document.
|
static boolean |
PDFModule.pdf_rect(PDF pdf,
double x,
double y,
double width,
double height)
Creates a rectangle
|
static boolean |
PDFModule.pdf_restore(PDF pdf)
Restores the graphics state.
|
static boolean |
PDFModule.pdf_rotate(PDF pdf,
double phi)
Rotate the coordinates.
|
static boolean |
PDFModule.pdf_save(PDF pdf)
Save the graphics state.
|
static boolean |
PDFModule.pdf_scale(PDF pdf,
double scaleX,
double scaleY)
Scale the coordinates.
|
static boolean |
PDFModule.pdf_set_border_color(Env env,
PDF pdf,
double red,
double green,
double blue)
Sets an annotation border color.
|
static boolean |
PDFModule.pdf_set_border_dash(Env env,
PDF pdf,
double black,
double white)
Sets an annotation border dash
|
static boolean |
PDFModule.pdf_set_border_style(Env env,
PDF pdf,
java.lang.String style,
double width)
Sets an annotation border style
|
static boolean |
PDFModule.pdf_set_gstate(Env env,
PDF pdf,
int gstate)
Activate a graphics state.
|
static boolean |
PDFModule.pdf_set_info(PDF pdf,
java.lang.String key,
java.lang.String value)
Sets document info.
|
static boolean |
PDFModule.pdf_set_layer_dependency(Env env,
PDF pdf,
java.lang.String type,
java.lang.String optlist)
Define a relationship between layers.
|
static boolean |
PDFModule.pdf_set_parameter(PDF pdf,
java.lang.String key,
java.lang.String value)
Sets a string parameter.
|
static boolean |
PDFModule.pdf_set_text_pos(PDF pdf,
double x,
double y)
Sets the text position
|
static boolean |
PDFModule.pdf_set_value(PDF pdf,
java.lang.String key,
double value)
Sets a double parameter.
|
static boolean |
PDFModule.pdf_setcolor(PDF pdf,
java.lang.String type,
java.lang.String colorspace,
double c1,
double c2,
double c3,
double c4)
Sets the colorspace and color
|
static boolean |
PDFModule.pdf_setdash(PDF pdf,
double black,
double white)
Sets the dashing
|
static boolean |
PDFModule.pdf_setdashpattern(Env env,
PDF pdf,
java.lang.String optlist)
Sets the dash pattern
|
static boolean |
PDFModule.pdf_setflat(Env env,
PDF pdf,
double flatness)
Sets the flatness
|
static boolean |
PDFModule.pdf_setfont(PDF pdf,
PDFFont font,
double size)
Sets the font size
|
static boolean |
PDFModule.pdf_setfont(PDF pdf,
PDFFont font,
double size)
Sets the font size
|
static boolean |
PDFModule.pdf_setgray_fill(PDF pdf,
double g)
Sets the fill color to gray
|
static boolean |
PDFModule.pdf_setgray_stroke(PDF pdf,
double g)
Sets the stroke color to gray
|
static boolean |
PDFModule.pdf_setgray(PDF pdf,
double g)
Sets the color to gray
|
static boolean |
PDFModule.pdf_setlinecap(Env env,
PDF pdf,
int value)
Sets the linecap param
|
static boolean |
PDFModule.pdf_setlinejoin(Env env,
PDF pdf,
int value)
Sets the linejoin param
|
static boolean |
PDFModule.pdf_setlinewidth(PDF pdf,
double width)
Sets the line width
|
static boolean |
PDFModule.pdf_setmatrix(Env env,
PDF pdf,
double a,
double b,
double c,
double d,
double e,
double f)
Sets the current transformation matrix
|
static boolean |
PDFModule.pdf_setmiterlimit(Env env,
PDF pdf,
double value)
Sets the line miter limit.
|
static boolean |
PDFModule.pdf_setrgbcolor_fill(PDF pdf,
double red,
double green,
double blue)
Sets the fill in rgb
|
static boolean |
PDFModule.pdf_setrgbcolor_stroke(PDF pdf,
double red,
double green,
double blue)
Sets the stroke in rgb
|
static boolean |
PDFModule.pdf_setrgbcolor(PDF pdf,
double red,
double green,
double blue)
Sets the color in rgb
|
static boolean |
PDFModule.pdf_shading_pattern(Env env,
PDF pdf,
int shading,
java.lang.String optlist)
Sets the shading pattern
|
static int |
PDFModule.pdf_shading(Env env,
PDF pdf,
java.lang.String type,
double x1,
double y1,
double x2,
double y2,
double c1,
double c2,
double c3,
double c4,
java.lang.String optlist)
Define a blend
|
static boolean |
PDFModule.pdf_shfill(Env env,
PDF pdf,
int shading)
Fill with a shading object.
|
static boolean |
PDFModule.pdf_show_boxed(Env env,
PDF pdf,
java.lang.String text,
double x,
double y,
double width,
double height,
java.lang.String mode,
java.lang.String feature)
Output text in a box.
|
static boolean |
PDFModule.pdf_show_xy(Env env,
PDF pdf,
java.lang.String text,
double x,
double y)
Output text at a location
|
static boolean |
PDFModule.pdf_show(Env env,
PDF pdf,
java.lang.String text)
Output text at the current
|
static boolean |
PDFModule.pdf_skew(PDF pdf,
double alpha,
double beta)
Skew the coordinate system.
|
static double |
PDFModule.pdf_stringwidth(PDF pdf,
java.lang.String text,
PDFFont font,
double size)
Returns the width of text in the font.
|
static double |
PDFModule.pdf_stringwidth(PDF pdf,
java.lang.String text,
PDFFont font,
double size)
Returns the width of text in the font.
|
static boolean |
PDFModule.pdf_stroke(PDF pdf)
Strokes the path
|
static boolean |
PDFModule.pdf_suspend_page(Env env,
PDF pdf,
java.lang.String optlist)
Suspend the page.
|
static boolean |
PDFModule.pdf_translate(PDF pdf,
double x,
double y)
Sets the coordinate system origin.
|
static java.lang.String |
PDFModule.pdf_utf16_to_utf8(Env env,
PDF pdf,
java.lang.String utf16string)
Convert from utf16 to utf8
|
static java.lang.String |
PDFModule.pdf_utf8_to_utf16(Env env,
PDF pdf,
java.lang.String utf8string)
Convert from utf8 to utf16
|
boolean |
PDF.setfont(PDFFont font,
double size)
Sets the current font
|
double |
PDF.stringheight(java.lang.String string,
PDFFont font,
double size) |
double |
PDF.stringwidth(java.lang.String string,
PDFFont font,
double size)
Returns the length of a string for a font.
|
Modifier and Type | Method and Description |
---|---|
Value |
SimpleXMLModule.simplexml_load_file(Env env,
StringValue file,
java.lang.String className,
int options,
Value namespaceV,
boolean isPrefix) |
Modifier and Type | Method and Description |
---|---|
static Value |
StringModule.fprintf(Env env,
BinaryOutput os,
StringValue format,
Value[] args)
Use printf style formatting to write a string to a file.
|
static int |
StringModule.vprintf(Env env,
StringValue format,
ArrayValue array)
Formatted strings with array arguments
|
static Value |
StringModule.vsprintf(Env env,
StringValue format,
ArrayValue array)
Formatted strings with array arguments
|
Modifier and Type | Method and Description |
---|---|
int |
XmlModule.xml_parse_into_struct(Env env,
Xml parser,
StringValue data,
Value valueArray,
Value indexArray) |
int |
XmlModule.xml_parse(Env env,
Xml parser,
StringValue data,
boolean isFinal) |
boolean |
XmlModule.xml_parser_free(Xml parser)
stub function.
|
Value |
XmlModule.xml_parser_get_option(Env env,
Xml parser,
int option) |
Value |
XmlModule.xml_parser_get_option(Env env,
Xml parser,
int option) |
boolean |
XmlModule.xml_parser_set_option(Xml parser,
int option,
Value value) |
boolean |
XmlModule.xml_parser_set_option(Xml parser,
int option,
Value value) |
boolean |
XmlModule.xml_parser_set_option(Xml parser,
int option,
Value value) |
boolean |
XmlModule.xml_set_character_data_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_character_data_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_default_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_default_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_element_handler(Env env,
Xml parser,
Value startElementHandler,
Value endElementHandler) |
boolean |
XmlModule.xml_set_element_handler(Env env,
Xml parser,
Value startElementHandler,
Value endElementHandler) |
boolean |
XmlModule.xml_set_element_handler(Env env,
Xml parser,
Value startElementHandler,
Value endElementHandler) |
boolean |
XmlModule.xml_set_end_namespace_decl_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_end_namespace_decl_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_notation_decl_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_notation_decl_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_object(Xml parser,
ObjectValue obj) |
boolean |
XmlModule.xml_set_object(Xml parser,
ObjectValue obj) |
boolean |
XmlModule.xml_set_processing_instruction_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_processing_instruction_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_start_namespace_decl_handler(Env env,
Xml parser,
Value startNamespaceDeclHandler) |
boolean |
XmlModule.xml_set_start_namespace_decl_handler(Env env,
Xml parser,
Value startNamespaceDeclHandler) |
boolean |
XmlModule.xml_set_unparsed_entity_decl_handler(Env env,
Xml parser,
Value handler) |
boolean |
XmlModule.xml_set_unparsed_entity_decl_handler(Env env,
Xml parser,
Value handler) |
static boolean |
XMLWriterModule.xmlwriter_end_attribute(XMLWriter w)
Ends an attribute
|
static boolean |
XMLWriterModule.xmlwriter_end_cdata(XMLWriter w)
Starts a CData section
|
static boolean |
XMLWriterModule.xmlwriter_end_comment(XMLWriter w)
Starts a comment section
|
static boolean |
XMLWriterModule.xmlwriter_end_document(XMLWriter w)
Ends the document
|
static boolean |
XMLWriterModule.xmlwriter_end_dtd_attlist(XMLWriter w)
Ends a DTD attribute list
|
static boolean |
XMLWriterModule.xmlwriter_end_dtd_element(XMLWriter w)
Ends a DTD element list
|
static boolean |
XMLWriterModule.xmlwriter_end_dtd_entity(XMLWriter w)
Ends a DTD entity
|
static boolean |
XMLWriterModule.xmlwriter_end_dtd(XMLWriter w)
Ends a DTD
|
static boolean |
XMLWriterModule.xmlwriter_end_element_ns(Env env,
XMLWriter w)
Ends an element
|
static boolean |
XMLWriterModule.xmlwriter_end_element(Env env,
XMLWriter w)
Ends an element
|
static boolean |
XMLWriterModule.xmlwriter_end_pi(XMLWriter w)
Ends a pi section
|
static Value |
XMLWriterModule.xmlwriter_flush(XMLWriter w)
Flushes the output and returns the result.
|
static boolean |
XMLWriterModule.xmlwriter_full_end_element(Env env,
XMLWriter w)
Ends an element
|
static Value |
XMLWriterModule.xmlwriter_output_memory(XMLWriter w)
Returns the memory result
|
static boolean |
XMLWriterModule.xmlwriter_set_indent_string(XMLWriter w,
StringValue value)
sets the indentation string
|
static boolean |
XMLWriterModule.xmlwriter_set_indent(XMLWriter w,
boolean isIndent)
enables indentation
|
static boolean |
XMLWriterModule.xmlwriter_start_attribute_ns(Env env,
XMLWriter w,
StringValue prefix,
StringValue name,
StringValue uri)
Starts an attribute with a namespace
|
static boolean |
XMLWriterModule.xmlwriter_start_attribute(Env env,
XMLWriter w,
StringValue name)
Starts an attribute
|
static boolean |
XMLWriterModule.xmlwriter_start_cdata(XMLWriter w)
Starts a CData section
|
static boolean |
XMLWriterModule.xmlwriter_start_comment(XMLWriter w)
Starts a comment section
|
static boolean |
XMLWriterModule.xmlwriter_start_document(Env env,
XMLWriter w,
StringValue version,
StringValue encoding,
StringValue standalone)
Starts the document
|
static boolean |
XMLWriterModule.xmlwriter_start_dtd_attlist(XMLWriter w,
StringValue name)
Starts a DTD attribute list
|
static boolean |
XMLWriterModule.xmlwriter_start_dtd_element(XMLWriter w,
StringValue name)
Starts a DTD element list
|
static boolean |
XMLWriterModule.xmlwriter_start_dtd_entity(XMLWriter w,
StringValue name)
Starts a DTD entity
|
static boolean |
XMLWriterModule.xmlwriter_start_dtd(XMLWriter w,
StringValue name,
StringValue publicId,
StringValue systemId)
Starts a DTD
|
static boolean |
XMLWriterModule.xmlwriter_start_element_ns(Env env,
XMLWriter w,
StringValue prefix,
StringValue name,
StringValue uri)
Starts a namespaced element
|
static boolean |
XMLWriterModule.xmlwriter_start_element(Env env,
XMLWriter w,
StringValue name)
Starts an element
|
static boolean |
XMLWriterModule.xmlwriter_start_pi(Env env,
XMLWriter w,
StringValue target)
Starts a processing instruction section
|
static boolean |
XMLWriterModule.xmlwriter_text(Env env,
XMLWriter w,
StringValue text)
Writes text
|
static boolean |
XMLWriterModule.xmlwriter_write_attribute_ns(Env env,
XMLWriter w,
StringValue prefix,
StringValue name,
StringValue uri,
StringValue value)
Writes a complete attribute
|
static boolean |
XMLWriterModule.xmlwriter_write_attribute(Env env,
XMLWriter w,
StringValue name,
StringValue value)
Writes a complete attribute
|
static boolean |
XMLWriterModule.xmlwriter_write_cdata(Env env,
XMLWriter w,
StringValue value)
Writes a complete cdata
|
static boolean |
XMLWriterModule.xmlwriter_write_comment(Env env,
XMLWriter w,
StringValue value)
Writes a complete comment
|
static boolean |
XMLWriterModule.xmlwriter_write_dtd_attlist(Env env,
XMLWriter w,
StringValue name,
StringValue content)
Writes a DTD attribute list
|
static boolean |
XMLWriterModule.xmlwriter_write_dtd_element(Env env,
XMLWriter w,
StringValue name,
StringValue content)
Writes a DTD element
|
static boolean |
XMLWriterModule.xmlwriter_write_dtd_entity(Env env,
XMLWriter w,
StringValue name,
StringValue content)
Writes a DTD entity
|
static boolean |
XMLWriterModule.xmlwriter_write_dtd(Env env,
XMLWriter w,
StringValue name,
StringValue publicId,
StringValue systemId,
StringValue subset)
Writes a DTD
|
static boolean |
XMLWriterModule.xmlwriter_write_element_ns(Env env,
XMLWriter w,
StringValue prefix,
StringValue name,
StringValue uri,
StringValue content)
Writes a complete element
|
static boolean |
XMLWriterModule.xmlwriter_write_element(Env env,
XMLWriter w,
StringValue name,
StringValue content)
Writes a complete element
|
static boolean |
XMLWriterModule.xmlwriter_write_pi(Env env,
XMLWriter w,
StringValue name,
StringValue value)
Writes a pi
|
static boolean |
XMLWriterModule.xmlwriter_write_raw(Env env,
XMLWriter w,
StringValue value)
Writes raw text
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZipModule.zip_close(ZipDirectory directory)
Closes the file.
|
boolean |
ZipModule.zip_entry_close(Env env,
QuercusZipEntry entry)
Closes this entry's stream.
|
long |
ZipModule.zip_entry_compressedsize(QuercusZipEntry entry)
Returns the size of the compressed data.
|
java.lang.String |
ZipModule.zip_entry_compressionmethod(QuercusZipEntry entry)
Returns the compression method used for this entry.
|
Value |
ZipModule.zip_entry_filesize(QuercusZipEntry entry)
Returns the file's uncompressed size.
|
Value |
ZipModule.zip_entry_name(Env env,
QuercusZipEntry entry)
Returns the file name.
|
boolean |
ZipModule.zip_entry_open(Env env,
ZipDirectory directory,
QuercusZipEntry entry,
java.lang.String mode)
Opens entry for decompression.
|
boolean |
ZipModule.zip_entry_open(Env env,
ZipDirectory directory,
QuercusZipEntry entry,
java.lang.String mode)
Opens entry for decompression.
|
StringValue |
ZipModule.zip_entry_read(Env env,
QuercusZipEntry entry,
int length)
Reads and decompresses entry's compressed data.
|
ZipDirectory |
ZipModule.zip_open(Env env,
StringValue filename)
Opens stream to read zip entries.
|
QuercusZipEntry |
ZipModule.zip_read(Env env,
ZipDirectory directory)
Reads an entry's metadata from the zip stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZlibModule.gzclose(BinaryStream os)
Closes the stream.
|
boolean |
ZlibModule.gzeof(BinaryStream binaryStream)
Returns true if the GZip stream is ended.
|
static Value |
ZlibModule.gzgetc(Env env,
BinaryInput is)
Reads a character from the stream.
|
static Value |
ZlibModule.gzgets(Env env,
BinaryInput is,
int length)
Reads a line from the input stream.
|
static Value |
ZlibModule.gzgetss(Env env,
BinaryInput is,
int length,
Value allowedTags)
Reads a line from the zip stream, stripping tags.
|
Value |
ZlibModule.gzpassthru(Env env,
BinaryInput is)
Prints out the remaining data in the stream to stdout
|
int |
ZlibModule.gzputs(Env env,
BinaryOutput os,
java.io.InputStream is,
int length) |
int |
Zlib.gzputs(Env env,
java.io.InputStream is,
int length)
alias of gzwrite
|
Value |
ZlibModule.gzread(BinaryInput is,
int length)
Reads a chunk of data from the gzip stream.
|
boolean |
ZlibModule.gzrewind(BinaryStream binaryStream)
Rewinds the stream to the very beginning
|
int |
ZlibModule.gzseek(BinaryStream binaryStream,
long offset,
int whence)
Set stream position to the offset
|
Value |
ZlibModule.gztell(BinaryStream binaryStream)
Gets the current position in the stream
|
static int |
ZlibModule.gzwrite(BinaryOutput os,
java.io.InputStream is,
int length)
Writes a string to the gzip stream.
|