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

getDataInFile(String, BLOB)

Format

public static boolean getDataInFile(java.lang.String filename, oracle.sql.BLOB mediaLobLocator)

Description

Downloads data from a database to a file.

Parameters

filename

The name of the file into which the data is downloaded.

mediaLobLocator

The BLOB from which the data is downloaded.

Return Value

This method returns true if the download is successful; false otherwise.

Exceptions

java.sql.SQLException

This exception is thrown if an error occurs accessing an object attribute.

java.io.IOException

This exception is thrown if an error occurs reading the data from the BLOB or writing the data to the output file.

Examples

None.