A B C D E F G H I J M P R S T U X Z

A

addUploadListener(UploadListener) - Method in class javazoom.upload.UploadBean
Adds UploadListener to be notified.
append(String, UploadFile, int, boolean) - Method in class javazoom.upload.Archiver
Appends a file to a ZIP archive.
Archiver - class javazoom.upload.Archiver.
This class (singleton) implements a simple ZIP Archiver.

B

BUFFERSIZE - Static variable in class javazoom.upload.Archiver
Buffer size for internal tranfert : Default value = 4096

C

CANNOTCREATEFOLDER - Static variable in class javazoom.upload.UploadException
 
CANNOTDELETESTORE - Static variable in class javazoom.upload.UploadException
 
CfuMultipartParser - class javazoom.upload.parsing.CfuMultipartParser.
This class links the Commons-FileUpload multipart parser to UploadBean.
CfuMultipartParser() - Constructor for class javazoom.upload.parsing.CfuMultipartParser
 
CFUPARSER - Static variable in class javazoom.upload.MultipartFormDataRequest
Commons FileUpload parser
CfuUploadFile - class javazoom.upload.parsing.CfuUploadFile.
UploadFile implementation for matching to Commons-FileUpload parser.
CfuUploadFile() - Constructor for class javazoom.upload.parsing.CfuUploadFile
 
CfuUploadFile(FileItem) - Constructor for class javazoom.upload.parsing.CfuUploadFile
Construtor.
connect(Object, Object, Object) - Method in class javazoom.upload.DefaultDBStore
Connects to database store.
connect(Object, Object, Object) - Method in class javazoom.upload.DBStore
Connects to database store.
CosMultipartParser - class javazoom.upload.parsing.CosMultipartParser.
This class links the COS multipart parser to UploadBean.
CosMultipartParser() - Constructor for class javazoom.upload.parsing.CosMultipartParser
 
COSPARSER - Static variable in class javazoom.upload.MultipartFormDataRequest
Cos parser
CosUploadFile - class javazoom.upload.parsing.CosUploadFile.
UploadFile implementation for matching to Cos parser.
CosUploadFile() - Constructor for class javazoom.upload.parsing.CosUploadFile
 
CosUploadFile(String, String, long, byte[]) - Constructor for class javazoom.upload.parsing.CosUploadFile
Constructs a CosUploadFile
countFiles() - Method in class javazoom.upload.DefaultDBStore
Counts database entries.
countFiles() - Method in class javazoom.upload.DBStore
Counts database entries.
createFileMultipartElement() - Method in class javazoom.upload.parsing.StrutsMultipartIterator
Create a multipart element instance representing the file in the stream.
createLocalFile() - Method in class javazoom.upload.parsing.StrutsMultipartIterator
Creates a file on disk from the current mulitpart element.

D

DATABASESTORE - Static variable in class javazoom.upload.UploadBean
 
DATABASESTOREERROR - Static variable in class javazoom.upload.UploadException
 
dataRead(int) - Method in interface javazoom.upload.UploadListener
Callback to implement to be notified when data is read.
DBStore - class javazoom.upload.DBStore.
This abstract class defines DBStore developers have to extend to implement their own database store for UploadBean
DBStore() - Constructor for class javazoom.upload.DBStore
 
DEFAULTBUFFERSIZE - Static variable in class javazoom.upload.parsing.StrutsMultipartParser
Default internal buffer size : 4096
DefaultDBStore - class javazoom.upload.DefaultDBStore.
This class implements a generic DBStore.
DefaultDBStore() - Constructor for class javazoom.upload.DefaultDBStore
 
DEFAULTENCODING - Static variable in class javazoom.upload.MultipartFormDataRequest
Default encoding : iso-8859-1
DEFAULTPARSER - Static variable in class javazoom.upload.MultipartFormDataRequest
Default multipart parser implementation is COSPARSER

E

EMPTYENTRY - Static variable in class javazoom.upload.UploadBean
 

F

FILE_PREFIX - Static variable in class javazoom.upload.parsing.StrutsMultipartIterator
Temporary file prefix : Default is strts
fileUploaded(UploadParameters, UploadFile) - Method in interface javazoom.upload.UploadListener
Callback to implement to be notified when file upload is completed.
fileUploadStarted(File, int, String) - Method in interface javazoom.upload.UploadListener
Callback to implement to be notified when file upload starts.
FOLDERISREADONLY - Static variable in class javazoom.upload.UploadException
 
FOLDERSTORE - Static variable in class javazoom.upload.UploadBean
 

G

getBlacklist() - Method in class javazoom.upload.UploadBean
Returns blacklist.
getCfuFileItem() - Method in class javazoom.upload.parsing.CfuUploadFile
Gets underlying Commons-FileUpload File Item.
getConnection() - Method in class javazoom.upload.DefaultDBStore
 
getConnection() - Method in class javazoom.upload.DBStore
Returns JDBC Connection.
getContenttype() - Method in class javazoom.upload.UploadParameters
Return content type parameter.
getContentType() - Method in class javazoom.upload.UploadFile
Returns content type parameter.
getData() - Method in class javazoom.upload.UploadFile
Returns binary data of the uploaded file.
getData() - Method in class javazoom.upload.parsing.CfuUploadFile
Return binary data.
getData() - Method in class javazoom.upload.parsing.StrutsUploadFile
Return binary data.
getData() - Method in class javazoom.upload.parsing.CosUploadFile
Gets binary file.
getDatabasestore() - Method in class javazoom.upload.UploadBean
Returns database store connection.
getDatabasestoreimplementation() - Method in class javazoom.upload.UploadBean
Returns database store concrete implementation.
getFileextension() - Method in class javazoom.upload.UploadParameters
Returns file extension parameter.
getFilename() - Method in class javazoom.upload.UploadParameters
Return filename parameter.
getFileName() - Method in class javazoom.upload.UploadFile
Returns filename parameter.
getFiles() - Method in class javazoom.upload.MultipartFormDataRequest
Returns an Hastable of UploadFile.
getFilesize() - Method in class javazoom.upload.UploadParameters
Returns file size parameter.
getFileSize() - Method in class javazoom.upload.UploadFile
Returns file size parameter.
getFilesizelimit() - Method in class javazoom.upload.UploadBean
Returns maximum size allowed for an uploaded file.
getFolderstore() - Method in class javazoom.upload.UploadBean
Returns store folder.
getHistory() - Method in class javazoom.upload.UploadBean
Returns a Vector[UploadParameters].
getInpuStream() - Method in class javazoom.upload.UploadFile
Returns binary data as InputStream of the uploaded file.
getInpuStream() - Method in class javazoom.upload.parsing.CfuUploadFile
Gets InputStream from temporary file.
getInpuStream() - Method in class javazoom.upload.parsing.StrutsUploadFile
Gets InputStream from temporary file.
getInpuStream() - Method in class javazoom.upload.parsing.CosUploadFile
Gets InputStream for uploaded file in memory.
getInstance() - Static method in class javazoom.upload.Archiver
Returns the only one instance of Archiver.
getLastId() - Method in class javazoom.upload.DefaultDBStore
Return last id used for UPLOADID column.
getMaxfiles() - Method in class javazoom.upload.UploadBean
Returns maximum amount of stored files.
getMemorystore() - Method in class javazoom.upload.UploadBean
Returns a Vector[UploadFile] from memory store.
getNextElement() - Method in class javazoom.upload.parsing.StrutsMultipartIterator
Struts code.
getOverwrite() - Method in class javazoom.upload.UploadBean
Returns overwrite state.
getParameter(String) - Method in class javazoom.upload.MultipartFormDataRequest
Returns parameter matching to name (see SERVLETS API).
getParameterNames() - Method in class javazoom.upload.MultipartFormDataRequest
Returns parameters enumeration (see SERVLETS API).
getParameterValues(String) - Method in class javazoom.upload.MultipartFormDataRequest
Returns parameter values array for name (see SERVLETS API).
getParser() - Method in class javazoom.upload.UploadBean
Gets current multipart parser.
getParsertmpdir() - Method in class javazoom.upload.UploadBean
Gets multipart parser tempory directory if applicable.
getStoreinfo() - Method in class javazoom.upload.UploadParameters
Returns store info.
getStoremodel() - Method in class javazoom.upload.UploadParameters
Returns store model parameter.
getStoremodelname() - Method in class javazoom.upload.UploadParameters
Returns store model name.
getTmpFilename() - Method in class javazoom.upload.parsing.StrutsUploadFile
Gets temporary filename from the Struts cache.
getWhitelist() - Method in class javazoom.upload.UploadBean
Returns whitelist.
getZipfilestore() - Method in class javazoom.upload.UploadBean
Returns zip store filename.

H

handleRequest(HttpServletRequest, Vector, int, Hashtable, Hashtable, String) - Method in class javazoom.upload.parsing.CosMultipartParser
Process uploading.
handleRequest(HttpServletRequest, Vector, int, Hashtable, Hashtable, String, String) - Method in class javazoom.upload.parsing.CfuMultipartParser
Process uploading.
handleRequest(HttpServletRequest, Vector, int, Hashtable, Hashtable, String, String) - Method in class javazoom.upload.parsing.StrutsMultipartParser
Process uploading.

I

INSERTASBYTES - Static variable in class javazoom.upload.UploadBean
Internal switch to use setBytes or setBinaryStream : Default is false (setBinaryStream)
INVALIDREQUEST - Static variable in class javazoom.upload.UploadException
 
isBlacklistEnabled() - Method in class javazoom.upload.UploadBean
Returns true if blacklist is enabled or false if whitelist is enabled.
isMultipartFormData(HttpServletRequest) - Static method in class javazoom.upload.MultipartFormDataRequest
Check the content type to make sure it's "multipart/form-data"
isParserAvailable(String) - Static method in class javazoom.upload.MultipartFormDataRequest
Checks if multipart parser in CLASSPATH.

J

javazoom.upload - package javazoom.upload
 
javazoom.upload.parsing - package javazoom.upload.parsing
 

M

MAXCONTENTLENGTHALLOWED - Static variable in class javazoom.upload.MultipartFormDataRequest
Maximum "Content-Length" size allowed (to avoid DoS attacks) : Default is 1GB
MAXCONTENTLENGTHEXCEEDED - Static variable in class javazoom.upload.parsing.StrutsMultipartParser
Default error message : Max Content-Length exceeded
MAXUPLOADEDFILES - Static variable in class javazoom.upload.UploadBean
Maximum uploaded files.
MAXUPLOADEDFILESIZE - Static variable in class javazoom.upload.UploadBean
Size limit for an uploaded file.
MEMBUFFER - Static variable in class javazoom.upload.parsing.CfuMultipartParser
Store file in memory is size < MEMBUFFER.
MEMORYSTORE - Static variable in class javazoom.upload.UploadBean
 
MultipartFormDataRequest - class javazoom.upload.MultipartFormDataRequest.
This class implements a "multipart/form-data" HTTP request parser.
MultipartFormDataRequest(HttpServletRequest) - Constructor for class javazoom.upload.MultipartFormDataRequest
Constructs a MultipartFormDataRequest from an HttpServletRequest.
MultipartFormDataRequest(HttpServletRequest, Vector) - Constructor for class javazoom.upload.MultipartFormDataRequest
Constructs a MultipartFormDataRequest from an HttpServletRequest.
MultipartFormDataRequest(HttpServletRequest, Vector, int) - Constructor for class javazoom.upload.MultipartFormDataRequest
Constructs a MultipartFormDataRequest from an HttpServletRequest.
MultipartFormDataRequest(HttpServletRequest, Vector, int, String) - Constructor for class javazoom.upload.MultipartFormDataRequest
Constructs a MultipartFormDataRequest from an HttpServletRequest.
MultipartFormDataRequest(HttpServletRequest, Vector, int, String, String) - Constructor for class javazoom.upload.MultipartFormDataRequest
Constructs a MultipartFormDataRequest from an HttpServletRequest.

P

PARSERTEMPDIRECTORY - Static variable in class javazoom.upload.MultipartFormDataRequest
Struts multipart parser temporary directory : System temp directory

R

reset() - Method in class javazoom.upload.DefaultDBStore
Deletes entries in database store.
reset() - Method in class javazoom.upload.UploadFile
Resets UploadFile content.
reset() - Method in class javazoom.upload.DBStore
Deletes entries in database store.
reset() - Method in class javazoom.upload.parsing.CfuUploadFile
Deletes temporary file.
reset() - Method in class javazoom.upload.parsing.StrutsUploadFile
Deletes temporary file.
reset() - Method in class javazoom.upload.parsing.CosUploadFile
Free memory.
resetStore() - Method in class javazoom.upload.UploadBean
Cleans and resets the current store.

S

SEPARATOR - Static variable in class javazoom.upload.UploadBean
 
SERIALIZEDFILESTORE - Static variable in class javazoom.upload.UploadBean
Reserved for future usage.
setBlacklist(String) - Method in class javazoom.upload.UploadBean
Setup blacklist : filenames separated by comma.
setConnection(Connection) - Method in class javazoom.upload.DBStore
Sets JDBC connection
setContentType(String) - Method in class javazoom.upload.UploadFile
Sets content type parameter.
setDatabasestore(Connection) - Method in class javazoom.upload.UploadBean
Setup the store database that suits to JDBC 2.0 extension.
setDatabasestore(String, String, Properties) - Method in class javazoom.upload.UploadBean
Setup the store database.
setDatabasestoreimplementation(String) - Method in class javazoom.upload.UploadBean
Setup your own database store implemention DBStore API compliant.
setFileName(String) - Method in class javazoom.upload.UploadFile
Sets filename parameter.
setFileSize(long) - Method in class javazoom.upload.UploadFile
Sets file size parameter.
setFilesizelimit(long) - Method in class javazoom.upload.UploadBean
Sets maximum size allowed for an uploaded file.
setFolderstore(String) - Method in class javazoom.upload.UploadBean
Sets the remote store folder.
setMaxfiles(int) - Method in class javazoom.upload.UploadBean
Sets maximum amount of stored files.
setMemorystore() - Method in class javazoom.upload.UploadBean
Sets the memory store folder.
setOverwrite(boolean) - Method in class javazoom.upload.UploadBean
Enables/Disables entry overwrite.
setParser(String) - Method in class javazoom.upload.UploadBean
Selects a multipart Parser.
setParsertmpdir(String) - Method in class javazoom.upload.UploadBean
Sets temporary directory for Struts multipart parser only.
setStoremodel(int) - Method in class javazoom.upload.UploadBean
Selects the store model.
setWhitelist(String) - Method in class javazoom.upload.UploadBean
Setup whitelist : filenames separated by comma.
setZipfilestore(String) - Method in class javazoom.upload.UploadBean
Sets the remote store zipfile.
SQLUPLOADFILE - Static variable in class javazoom.upload.UploadBean
Column name to store uploaded data : Default is BINARYFILE
SQLUPLOADFILENAME - Static variable in class javazoom.upload.UploadBean
Column name to store uploaded filename : Default is FILENAME
SQLUPLOADID - Static variable in class javazoom.upload.UploadBean
Column name to store uploaded file id : Default is UPLOADID
SQLUPLOADTABLE - Static variable in class javazoom.upload.UploadBean
Database table name to store uploaded file : Default is UPLOADS
store(MultipartFormDataRequest) - Method in class javazoom.upload.UploadBean
Moves all files to the store.
store(MultipartFormDataRequest, String) - Method in class javazoom.upload.UploadBean
Moves one file identified by its form field to the store.
store(UploadFile, boolean) - Method in class javazoom.upload.DefaultDBStore
Depending on overwrite state, inserts or updates file in store.
store(UploadFile, boolean) - Method in class javazoom.upload.DBStore
Inserts or updates file in store.
StrutsMultipartIterator - class javazoom.upload.parsing.StrutsMultipartIterator.
This class extends Struts MultipartIterator to provide upload progress status.
StrutsMultipartIterator(HttpServletRequest, int, long, String, Vector) - Constructor for class javazoom.upload.parsing.StrutsMultipartIterator
Custom Multipart Iterator supporting upload listeners.
StrutsMultipartParser - class javazoom.upload.parsing.StrutsMultipartParser.
This class links the STRUTS multipart parser to UploadBean.
StrutsMultipartParser() - Constructor for class javazoom.upload.parsing.StrutsMultipartParser
 
STRUTSPARSER - Static variable in class javazoom.upload.MultipartFormDataRequest
Struts parser
StrutsUploadFile - class javazoom.upload.parsing.StrutsUploadFile.
UploadFile implementation for matching to Struts parser.
StrutsUploadFile() - Constructor for class javazoom.upload.parsing.StrutsUploadFile
 
StrutsUploadFile(String) - Constructor for class javazoom.upload.parsing.StrutsUploadFile
Construtor.

T

TARGZIPFILESTORE - Static variable in class javazoom.upload.UploadBean
Reserved for future usage.
TRANSFERTBUFFERSIZE - Static variable in class javazoom.upload.UploadBean
 

U

UNKNOWNSTOREMODEL - Static variable in class javazoom.upload.UploadException
 
UploadBean - class javazoom.upload.UploadBean.
This class implements an UploadBean.
UploadBean() - Constructor for class javazoom.upload.UploadBean
Dummy constructor (needed for JavaBeans).
UPLOADERROR - Static variable in class javazoom.upload.UploadException
 
UploadException - exception javazoom.upload.UploadException.
This class implements Upload Exceptions.
UploadException() - Constructor for class javazoom.upload.UploadException
 
UploadException(String) - Constructor for class javazoom.upload.UploadException
 
UploadFile - class javazoom.upload.UploadFile.
This class implements an uploaded file (Parameters + Data)
UploadFile() - Constructor for class javazoom.upload.UploadFile
 
UploadFile(String, String, long) - Constructor for class javazoom.upload.UploadFile
Constructor.
UPLOADFILENAMEDENIED - Static variable in class javazoom.upload.UploadException
 
UPLOADFILESIZELIMITREACHED - Static variable in class javazoom.upload.UploadException
 
UPLOADLIMITREACHED - Static variable in class javazoom.upload.UploadException
 
UploadListener - interface javazoom.upload.UploadListener.
This interface defines callbacks for upload listeners.
UploadParameters - class javazoom.upload.UploadParameters.
This class provides all parameters of an uploaded file.
UploadParameters(String, long, String, int, String) - Constructor for class javazoom.upload.UploadParameters
Constructs an UploadParameters.
UPLOADSTORENOTFOUND - Static variable in class javazoom.upload.UploadException
 

X

XMLFILESTORE - Static variable in class javazoom.upload.UploadBean
Reserved for future usage.

Z

ZIPFILESTORE - Static variable in class javazoom.upload.UploadBean
 

A B C D E F G H I J M P R S T U X Z