Skip Headers
Contents
List of Examples
Title and Copyright Information
Send Us Your Comments
Preface
Audience
Documentation Accessibility
Organization
Related Documentation
Conventions
1 Introduction
1.1 Oracle
inter
Media Objects
1.2 Audio Concepts
1.2.1 Digitized Audio
1.2.2 Audio Components
1.3 Media Concepts
1.3.1 Digitized Media Data
1.3.2 Media 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
inter
Media Objects
1.8 Compatibility with Previous Releases of
inter
Media
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( )
getFactory( )
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( )
getFactory( )
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( )
getFactory( )
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( )
getFactory( )
isSimilar( )
7 JAI Input and Output Stream Reference Information
7.1 Prerequisites
BfileInputStream Object
BfileInputStream(BFILE)
BfileInputStream(BFILE, int)
canSeekBackwards( )
close( )
getBFILE( )
getFilePointer( )
mark( )
markSupported( )
read( )
read(byte[ ])
read(byte[ ], int, int)
remaining( )
reset( )
seek( )
skip( )
BlobInputStream Object
BlobInputStream(BLOB)
BlobInputStream(BLOB, int)
canSeekBackwards( )
close( )
getBLOB( )
getFilePointer( )
mark( )
markSupported( )
read( )
read(byte[ ])
read(byte[ ], int, int)
remaining( )
reset( )
seek( )
skip( )
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( )
getFactory( )
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( )
setFormat( )
setFrameRate( )
setFrameResolution( )
setHeight( )
setKnownAttributes( )
setLocal( )
setMimeType( )
setNumberOfColors( )
setNumberOfFrames( )
setProperties(byte[ ][ ])
setProperties(byte[ ][ ], boolean)
setSource( )
setUpdateTime( )
setVideoDuration( )
setWidth( )
trimSource( )
writeToSource( )
9 Java Classes for Servlets and JSP Reference Information
9.1 Prerequisites
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( )
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( )
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( )
OrdHttpUploadFormData Reference Information
enableParameterTranslation( )
getFileParameter( )
getFileParameterNames( )
getFileParameterValues( )
getParameter( )
getParameterNames( )
getParameterValues( )
isUploadRequest( )
OrdHttpUploadFormData( )
OrdHttpUploadFormData(ServletRequest)
parseFormData( )
release( )
setMaxMemory( )
setServletRequest( )
A Running Java Classes Examples
A.1 Finding the Sample Files
A.2 Before Running the Sample Files
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
Copyright © 1999, 2002 Oracle Corporation
All rights reserved
Home
Book List
Index
Master Index
Feedback
Oracle®
inter
Media Java Classes User's Guide and Reference
Release 9.2
Part No. A96121-01
Home
Book List
Index
Master Index
Feedback