Skip Headers

Oracle® interMedia Java Classes Reference
10g Release 1 (10.1)

Part Number B10830-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

getContentInLob(byte[ ] [ ], String, String)

Format

public oracle.sql.BLOB getContentInLob(byte[ ] [ ] ctx, String mimetype[ ], String format[ ])

Description

Returns the data from the BLOB specified by the localData attribute in a temporary BLOB in the database. This method creates a temporary BLOB in the database, reads the data from the BLOB specified by the localData attribute, writes the data to the temporary BLOB, then returns the temporary BLOB locator to the caller.


Note:

The application must free the temporary BLOB after accessing the data it contains.

Parameters

ctx

The source plug-in context information.

mimetype

A String array, 1 element in length, into which the mimeType attribute is written as element 0.

format

A String array, 1 element in length, into which the format attribute is written as element 0.

Return Value

This method returns the video data in a temporary oracle.sql.BLOB locator.

Exceptions

java.sql.SQLException

This exception is thrown if an error occurs creating the temporary BLOB or executing the corresponding getContentInLob( ) method in the database.

Examples

None.