Oracle interMedia Java Classes User's Guide and Reference
Release 9.0.1

Part Number A88785-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Index
Index

Master Index

Feedback

Go to next page

Contents

Title and Copyright Information

List of Examples

Send Us Your Comments

Preface

Audience
Organization
Related Documents
Accessibility
Conventions

1 Introduction

1.1 Oracle interMedia Objects
1.2 Audio Concepts
1.2.1 Digitized Audio
1.2.2 Audio Components
1.3 OrdDoc Concepts
1.3.1 Digitized Multimedia Data
1.3.2 Multimedia Components
1.4 Image Concepts
1.4.1 Digitized Images
1.4.2 Image Components
1.4.3 Content-Based Retrieval Concepts
1.4.4 How Content-Based Retrieval Works
1.4.5 Input and Output Streams
1.5 Video Concepts
1.5.1 Digitized Video
1.5.2 Video Components
1.6 Java Application Support
1.7 Writing a Java Application to Access interMedia Objects
1.8 Compatibility with Previous Releases of interMedia

2 Program Examples Using Java Classes

2.1 OrdAudio Example
2.1.1 AudioExample.sql
2.1.2 AudioExample.java
2.1.2.1 main( ) Method
2.1.2.2 connect( ) Method
2.1.2.3 loadDataFromFile( ) Method
2.1.2.4 extractProperties( ) Method
2.1.2.5 printProperties( ) Method
2.1.2.6 otherMethods( ) Method
2.1.2.7 loadDataFromStream( ) Method
2.1.2.8 loadDataFromByteArray( ) Method
2.2 OrdDoc Example
2.2.1 DocumentExample.sql
2.2.2 DocumentExample.java
2.2.2.1 main( ) Method
2.2.2.2 connect( ) Method
2.2.2.3 loadDataFromFile( ) Method
2.2.2.4 extractProperties( ) Method
2.2.2.5 printProperties( ) Method
2.2.2.6 loadDataFromStream( ) Method
2.2.2.7 otherMethods( ) Method
2.2.2.8 loadDataFromByteArray( ) Method
2.3 OrdImage Example
2.3.1 ImageExample.sql
2.3.2 ImageExample.java
2.3.2.1 main( ) Method
2.3.2.2 connect( )Method
2.3.2.3 setPropertiesExample( ) Method
2.3.2.4 displayPropertiesExample( ) Method
2.3.2.5 getAllAttributesAsString( ) Method
2.3.2.6 fileBasedExample( ) Method
2.3.2.7 streamBasedExample( ) Method
2.3.2.8 byteArrayBasedExample( ) Method
2.3.2.9 processExample( ) Method
2.3.2.10 sigGeneration( ) Method
2.3.2.11 imageMatchingScore( ) Method
2.3.2.12 sigSimilarity( ) Method
2.4 OrdVideo Example
2.4.1 VideoExample.sql
2.4.2 VideoExample.java
2.4.2.1 main( ) Method
2.4.2.2 connect( ) Method
2.4.2.3 loadDataFromFile( ) Method
2.4.2.4 extractProperties( ) Method
2.4.2.5 printProperties( ) Method
2.4.2.6 loadDataFromStream( ) Method
2.4.2.7 otherMethods( ) Method
2.4.2.8 loadDataFromByteArray( ) Method

3 OrdAudio Reference Information

3.1 Prerequisites
3.2 Reference Information
checkProperties( )
clearLocal( )
closeSource( )
deleteContent( )
export( )
getAllAttributes( )
getAttribute( )
getAudioDuration( )
getBFILE( )
getComments( )
getCompressionType( )
getContent( )
getContentInLob( )
getContentLength( )
getContentLength(byte[ ][ ])
getDataInByteArray( )
getDataInFile( )
getDataInStream( )
getDescription( )
getEncoding( )
getFormat( )
getMimeType( )
getNumberOfChannels( )
getSampleSize( )
getSamplingRate( )
getSource( )
getSourceLocation( )
getSourceName( )
getSourceType( )
getUpdateTime( )
importData( )
importFrom( )
isLocal( )
loadDataFromByteArray( )
loadDataFromFile( )
loadDataFromInputStream( )
openSource( )
processAudioCommand( )
processSourceCommand( )
readFromSource( )
setAudioDuration( )
setComments( )
setCompressionType( )
setDescription( )
setEncoding( )
setFormat( )
setKnownAttributes( )
setLocal( )
setMimeType( )
setNumberOfChannels( )
setProperties(byte[ ][ ])
setProperties(byte[ ][ ], boolean)
setSampleSize( )
setSamplingRate( )
setSource( )
setUpdateTime( )
trimSource( )
writeToSource( )

4 OrdDoc Reference Information

4.1 Prerequisites
4.2 Reference Information
clearLocal( )
closeSource( )
deleteContent( )
export( )
getBFILE( )
getComments( )
getContent( )
getContentInLob( )
getContentLength( )
getDataInByteArray( )
getDataInFile( )
getDataInStream( )
getFormat( )
getMimeType( )
getSource( )
getSourceLocation( )
getSourceName( )
getSourceType( )
getUpdateTime( )
importData( )
importFrom( )
isLocal( )
loadDataFromByteArray( )
loadDataFromFile( )
loadDataFromInputStream( )
openSource( )
processSourceCommand( )
readFromSource( )
setComments( )
setContentLength( )
setFormat( )
setLocal( )
setMimeType( )
setProperties( )
setSource( )
setUpdateTime( )
trimSource( )
writeToSource( )

5 OrdImage Reference Information

5.1 Prerequisites
5.2 Reference Information
checkProperties( )
clearLocal( )
copy( )
deleteContent( )
export( )
getBFILE( )
getCompressionFormat( )
getContent( )
getContentFormat( )
getContentLength( )
getDataInByteArray( )
getDataInFile( )
getDataInStream( )
getFormat( )
getHeight( )
getMimeType( )
getSource( )
getSourceLocation( )
getSourceName( )
getSourceType( )
getUpdateTime( )
getWidth( )
importData( )
importFrom( )
isLocal( )
loadDataFromByteArray( )
loadDataFromFile( )
loadDataFromInputStream( )
process( )
processCopy( )
setCompressionFormat( )
setContentFormat( )
setContentLength( )
setFormat( )
setHeight( )
setLocal( )
setMimeType( )
setProperties( )
setProperties(String)
setSource( )
setUpdateTime( )
setWidth( )

6 OrdImageSignature Reference Information

6.1 Prerequisites
6.2 Reference Information
evaluateScore( )
generateSignature( )
isSimilar( )

7 JAI Input and Output Stream Reference Information

7.1 Prerequisites
7.2 BfileInputStream Object
BfileInputStream(BFILE)
BfileInputStream(BFILE, int)
canSeekBackwards( )
close( )
getBFILE( )
getFilePointer( )
mark( )
markSupported( )
read( )
read(byte[ ])
read(byte[ ], int, int)
remaining( )
reset( )
seek( )
skip( )
7.3 BlobInputStream Object
BlobInputStream(BLOB)
BlobInputStream(BLOB, int)
canSeekBackwards( )
close( )
getBLOB( )
getFilePointer( )
mark( )
markSupported( )
read( )
read(byte[ ])
read(byte[ ], int, int)
remaining( )
reset( )
seek( )
skip( )
7.4 BlobOutputStream Object
BlobOutputStream(BLOB)
BlobOutputStream(BLOB, int)
close( )
flush( )
getFilePointer( )
length( )
seek( )
write(byte[ ])
write(byte[ ], int, int)
write(int)

8 OrdVideo Reference Information

8.1 Prerequisites
8.2 Reference Information
checkProperties( )
clearLocal( )
closeSource( )
deleteContent( )
export( )
getAllAttributes( )
getAttribute( )
getBFILE( )
getBitRate( )
getComments( )
getCompressionType( )
getContent( )
getContentInLob( )
getContentLength( )
getContentLength(byte[ ][ ])
getDataInByteArray( )
getDataInFile( )
getDataInStream( )
getDescription( )
getFormat( )
getFrameRate( )
getFrameResolution( )
getHeight( )
getMimeType( )
getNumberOfColors( )
getNumberOfFrames( )
getSource( )
getSourceLocation( )
getSourceName( )
getSourceType( )
getUpdateTime( )
getVideoDuration( )
getWidth( )
importData( )
importFrom( )
isLocal( )
loadDataFromByteArray( )
loadDataFromFile( )
loadDataFromInputStream( )
openSource( )
processSourceCommand( )
processVideoCommand( )
readFromSource( )
setBitRate( )
setComments( )
setCompressionType( )
setDescription( )
setFrameRate( )
setFrameResolution( )
setFormat( )
setHeight( )
setKnownAttributes( )
setLocal( )
setMimeType( )
setNumberOfColors( )
setNumberOfFrames( )
setProperties(byte[ ][ ])
setProperties(byte[ ][ ], boolean)
setSource( )
setUpdateTime( )
setVideoDuration( )
setWidth( )
trimSource( )
writeToSource( )

9 Java Classes for Servlets and JSPs Reference Information

9.1 Prerequisites
9.2 OrdHttpResponseHandler Reference Information
OrdHttpResponseHandler( )
OrdHttpResponseHandler(HttpServletRequest,HttpServletResponse)
sendAudio( )
sendDoc( )
sendImage( )
sendResponse(String,int,BFILE,Timestamp)
sendResponse(String,int,BLOB,Timestamp)
sendResponse(String,int,InputStream,Timestamp)
sendResponseBody(int,BFILE)
sendResponseBody(int,BLOB)
sendResponseBody(int,InputStream)
sendVideo( )
setBufferSize( )
setServletRequest( )
setServletResponse( )
9.3 OrdHttpJspResponseHandler Reference Information
OrdHttpJspResponseHandler( )
OrdHttpJspResponseHandler(PageContext)
sendAudio( )
sendDoc( )
sendImage( )
sendResponse(String,int,BFILE,Timestamp)
sendResponse(String,int,BLOB,Timestamp)
sendResponse(String,int,InputStream,Timestamp)
sendVideo( )
setPageContext( )
9.4 OrdHttpUploadFormData Reference Information
enableParameterTranslation( )
getFileParameter( )
getFileParameterNames( )
getFileParameterValues( )
getParameter( )
getParameterNames( )
getParameterValues( )
isUploadRequest( )
OrdHttpUploadFormData( )
OrdHttpUploadFormData(ServletRequest)
parseFormData( )
release( )
setMaxMemory( )
setServletRequest( )
9.5 OrdHttpUploadFile Reference Information
getContentLength( )
getInputStream( )
getMimeType( )
getOriginalFileName( )
getSimpleFileName( )
loadAudio(OrdAudio)
loadAudio(OrdAudio,byte[ ][ ], boolean)
loadBlob( )
loadDoc(OrdDoc)
loadDoc(OrdDoc,byte[ ][ ],boolean)
loadImage(OrdImage)
loadImage(OrdImage,String)
loadVideo(OrdVideo)
loadVideo(OrdVideo,byte[ ][ ],boolean)
release( )

A Running Java Classes Examples

B Exceptions and Errors

B.1 Exception Class
B.2 IllegalArgumentException Class
B.3 IllegalStateException Class
B.4 IOException Class
B.5 OutOfMemoryError Class
B.6 OrdHttpResponseException Class
B.7 OrdHttpUploadException Class
B.8 ServletException Class
B.9 SQLException Class

C Deprecated Methods

Index


Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Index
Index

Master Index

Feedback