public class RichFacesFileUpload extends Object implements FileUpload, AdvancedVisibleComponentIteractions<RichFacesFileUpload.AdvancedFileUploadInteractions>
Modifier and Type | Class and Description |
---|---|
class |
RichFacesFileUpload.AdvancedFileUploadInteractions |
class |
RichFacesFileUpload.FileUploadItemImpl |
static class |
RichFacesFileUpload.RichFacesFileUploadList |
Constructor and Description |
---|
RichFacesFileUpload() |
Modifier and Type | Method and Description |
---|---|
boolean |
addFile(File file)
Adds the given
file in to the list of to be uploaded files. |
RichFacesFileUpload.AdvancedFileUploadInteractions |
advanced() |
FileUpload |
clearAll()
Clears all to be uploaded or already uploaded files from the list.
|
FileUpload |
upload()
Uploads all to be uploaded files.
|
public boolean addFile(File file)
FileUpload
file
in to the list of to be uploaded files.addFile
in interface FileUpload
file
- to be uploadedtrue
if the file was added successfully, false
otherwisepublic RichFacesFileUpload.AdvancedFileUploadInteractions advanced()
advanced
in interface AdvancedInteractions<RichFacesFileUpload.AdvancedFileUploadInteractions>
public FileUpload clearAll()
FileUpload
clearAll
in interface FileUpload
public FileUpload upload()
FileUpload
upload
in interface FileUpload
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.