|Oracle® interMedia Java Classes User's Guide and Reference
Part No. A96121-01
This guide describes how to use Oracle interMedia Java Classes.
This guide is for developers or database administrators who are interested in storing, retrieving, and manipulating media data in an Oracle database, including developers of multimedia specialization applications. Users of this guide should have experience with Java and JDBC.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community.To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle Corporation does not own or control. Oracle Corporation neither evaluates nor makes any representations regarding the accessibility of these Web sites.
This guide contains the following chapters and appendixes:
|Chapter 1||Contains a general introduction.|
|Chapter 2||Contains information on the examples included with the Java Classes installation.|
|Chapter 3||Contains reference information on the OrdAudio class.|
|Chapter 4||Contains reference information on the OrdDoc class.|
|Chapter 5||Contains reference information on the OrdImage class.|
|Chapter 6||Contains reference information on the OrdImageSignature class.|
|Chapter 7||Contains reference information on input and output streams designed to work with JAI.|
|Chapter 8||Contains reference information on the OrdVideo class.|
|Chapter 9||Contains reference information on Java classes for servlets and JSPs.|
|Appendix A||Contains information on running the sample files included with the Java Classes.|
|Appendix B||Contains information on possible exceptions and errors.|
|Appendix C||Contains information on methods that have been deprecated.|
This guide is not intended as a standalone document. It is a supplement to Oracle interMedia User's Guide and Reference. You need both guides to successfully perform operations on interMedia objects using the Java interface.
For more information about using interMedia in a development environment, see the following documents in the Oracle documentation set:
For more information on using JDBC, see Oracle9i JDBC Developer's Guide and Reference.
For reference information in Javadoc format, see the Oracle API documentation (also known as Javadoc). The following directory includes ZIP files that contain reference information for Oracle interMedia Java Classes and Oracle interMedia Java Classes for Servlets and JSPs in Javadoc format:
<ORACLE_HOME>/ord/im/javadoc (on UNIX)
<ORACLE_HOME>\ord\im\javadoc (on Windows NT)
For more information on Java, see the API documentation provided by Sun Microsystems at
For more information on the Java Advanced Imaging (JAI) API, see the following Web site (which is maintained by Sun Microsystems)
For information added after the release of this guide, refer to the online README.txt file in your Oracle home directory. Depending on your operating system, this file may be in the following location:
See your operating system-specific installation guide for more information.
For the latest documentation, see the Oracle Technology Network Web site at
In North America, printed documentation is available for sale in the Oracle Store at
Customers in Europe, the Middle East, and Africa (EMEA) can purchase documentation from
Other customers can contact their Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, go to the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at
If you already have a user name and password for OTN, then you can go directly to the documentation section of the OTN Web site at
To access the database documentation search engine directly, go to
In examples, an implied carriage return occurs at the end of each line, unless otherwise noted. You must press the Return key at the end of a line of input.
The java.lang.String object is sometimes abbreviated as String.
Although Boolean is a proper noun, it is presented as boolean in this guide when its use in Java code requires case-sensitivity.
The following conventions are also used in this guide:
|Vertical ellipsis points in an example mean that information not directly related to the example has been omitted.|
|...||Horizontal ellipsis points in statements or commands mean that parts of the statement or command not directly related to the example have been omitted.|
|boldface text||Boldface text indicates a term defined in the text.
In code examples, a boldface number in brackets (for example,
|italic text||Italic text is used for emphasis and for book titles.|
|< >||Angle brackets enclose user-supplied names.|
|[ ]||Brackets enclose optional clauses from which you can choose one or none.|