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

loadDataFromInputStream(InputStream, BLOB)

Format

public static boolean loadDataFromInputStream(java.io.InputStream inStream, oracle.sql.BLOB mediaLobLocator)

Description

Loads data from an input stream.

Parameters

inStream

The name of the input stream from which the data is loaded.

mediaLobLocator

The BLOB into which the data is loaded.

Return Value

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

Exceptions

java.sql.SQLException

This exception is thrown if an error occurs accessing an object attribute or executing a method in the database.

java.io.IOException

This exception is thrown if an error occurs reading the InputStream object.

java.lang.OutOfMemoryError

This exception is thrown if sufficient memory cannot be allocated to hold the data.

Examples

None.