Package org.silverpeas.core.io.upload
Provides an API to manage file uploads.
Uploaded files are retrieved from indicators contained in an HttpServletRequest.
On user interface side, silverpeas-fileUpload.js has to be used via tag. When this Silverpeas jQuery plugin is used,
each files selected or dragged and dropped are uploaded by AJAX http request. User can't
validate form unless all files are uploaded.
On server side,
On user interface side, silverpeas-fileUpload.js has to be used via
On server side,
FileUploadManager
has to be used to
retrieve uploaded files from HttpServletRequest
.-
Class Summary Class Description FileUploadManager This manager allows to retrieve from aHttpServletRequest
or a dictionary of parameters a collection ofUploadedFile
.UploadedFile Representation of an uploaded file.
EachUploadedFile
is associated to a uniqueUploadSession
instance.UploadedFileItem Converts anUploadedFile
into a usableFileItem
instance.UploadSession A session of files and folders uploads.UploadSessionFile This class represents a file which will be uploaded, or, has been uploaded, on the server within the context of a files upload session (represented by anUploadSession
instance.