OOP BinaryStore Version 2.1.2
B C D G I N P S

B

BinaryServlet - Class in com.bentofw.binarystore
Sends the binary contents back to the web browser.
BinaryServlet() - Constructor for class com.bentofw.binarystore.BinaryServlet
 
BinaryStore - Class in com.bentofw.binarystore
Saves the binary contents into SQL table.

C

com.bentofw.binarystore - package com.bentofw.binarystore
The classes in this package save/retrieve the binary contents of the file into/from SQL table through JDBC.
com.bentofw.util - package com.bentofw.util
The classes and interfaces required for APIs by OOP-Research.

D

delete(long) - Method in class com.bentofw.binarystore.BinaryStore
Mark the record as deleted.
delete(List) - Method in class com.bentofw.binarystore.BinaryStore
Mark the records as deleted.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.bentofw.binarystore.BinaryServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.bentofw.binarystore.DownloadServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.bentofw.binarystore.PartialBinaryServlet
 
DownloadServlet - Class in com.bentofw.binarystore
Sends the binary contents back to the web browser with application/octet-stream as the content-type.
DownloadServlet() - Constructor for class com.bentofw.binarystore.DownloadServlet
 

G

getFileBody() - Method in class com.bentofw.binarystore.StoredFile
Return the binary contents of the file that was saved into the SQL table.
getFileName() - Method in class com.bentofw.binarystore.StoredFile
Return the file name of the file that was saved into the SQL table.
getFileName() - Method in class com.bentofw.binarystore.StoredInfo
Return the file name of the file that was saved into the SQL table.
getFileSize() - Method in class com.bentofw.binarystore.StoredFile
Return the size of the file that was saved into the SQL table.
getFileSize() - Method in class com.bentofw.binarystore.StoredInfo
Return the size of the file that was saved into the SQL table.
getFileType() - Method in class com.bentofw.binarystore.StoredFile
Return the content-type of the file that was saved into the SQL table.
getFileType() - Method in class com.bentofw.binarystore.StoredInfo
Return the content-type of the file that was saved into the SQL table.
getInstance() - Static method in class com.bentofw.binarystore.BinaryStore
Reads the property file and returns the instance of this class.
getMessage() - Method in exception com.bentofw.util.NestedException
Returns the error message of original Throwable.
getOriginal() - Method in exception com.bentofw.util.NestedException
Returns the original Throwable.
getParameterName() - Method in class com.bentofw.binarystore.BinaryStore
This method will be used by Servlet, such as DownloadServlet and PartialBinaryServlet.
getStoredFile(long) - Method in class com.bentofw.binarystore.BinaryStore
Returns StoredFile object for the specified ID.
getStoredInfo(long) - Method in class com.bentofw.binarystore.BinaryStore
Returns StoredInfo object for the specified ID.

I

init() - Method in class com.bentofw.binarystore.BinaryServlet
 
init() - Method in class com.bentofw.binarystore.DownloadServlet
 
init() - Method in class com.bentofw.binarystore.PartialBinaryServlet
 

N

NestedException - Exception in com.bentofw.util
The exception for the system error.
NestedException(Throwable) - Constructor for exception com.bentofw.util.NestedException
The custructor.
NoBinaryData - Exception in com.bentofw.binarystore
Thrown by BinaryStore, indicating no record found for the specified ID.
NoBinaryData(long) - Constructor for exception com.bentofw.binarystore.NoBinaryData
 
NoPropertyFileException - Exception in com.bentofw.util
This exception will be thrown when the required property file is not found.
NoPropertyFileException(String) - Constructor for exception com.bentofw.util.NoPropertyFileException
The custructor.

P

PartialBinaryServlet - Class in com.bentofw.binarystore
Send back the chunked binary contents according to the HTTP range request.
PartialBinaryServlet() - Constructor for class com.bentofw.binarystore.PartialBinaryServlet
 
printStackTrace() - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the specified PrintStream.
printStackTrace(PrintWriter) - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the specified PrintWriter.

S

shouldDebug() - Method in class com.bentofw.binarystore.BinaryStore
 
SimpleException - Exception in com.bentofw.util
The exception for the logical error.
SimpleException(String) - Constructor for exception com.bentofw.util.SimpleException
The custructor.
store(String, String, byte[]) - Method in class com.bentofw.binarystore.BinaryStore
Save the binary contents along with the file name and content-type.
storeByChunk(String, String, byte[], int) - Method in class com.bentofw.binarystore.BinaryStore
Save the binary contents along with the file name and content-type.
StoredFile - Class in com.bentofw.binarystore
Represents the file stored in SQL.
StoredInfo - Class in com.bentofw.binarystore
Represents the file stored in SQL.

B C D G I N P S
OOP BinaryStore Version 2.1.2

ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.