|Oracle® interMedia Java Classes Reference
10g Release 1 (10.1)
Part Number B10830-01
As an extension to Java, Sun Microsystems has provided the Java Advanced Imaging (JAI) API. JAI lets you introduce advanced image processing operations in your Java applications. With Oracle interMedia ("interMedia"), you can read and write images stored in the database from your JAI applications.
Oracle interMedia Java Classes ("interMedia Java Classes") provides APIs for three types of stream objects, which let you read data from BLOBs and BFILEs and write to BLOBs in your JAI applications. These stream objects are not meant to replace the input and output stream objects provided by Sun Microsystems; these objects are included to provide an interface to image data stored in BLOBs and BFILEs in OrdImage objects that can be used by JAI without loss in performance.
The stream objects are as follows:
BfileInputStream, which allows you to read data from an Oracle BFILE associated with the stream. (See BfileInputStream Object.)
BlobInputStream, which allows you to read data from an Oracle BLOB associated with the stream. (See BlobInputStream Object.)
BlobOutputStream, which allows you to write data from a buffer to an Oracle BLOB associated with the stream. (See BlobOutputStream Object.)