public interface FileUpload
Modifier and Type | Method and Description |
---|---|
boolean |
addFile(File file)
Adds the given
file in to the list of to be uploaded files. |
FileUpload |
clearAll()
Clears all to be uploaded or already uploaded files from the list.
|
FileUpload |
upload()
Uploads all to be uploaded files.
|
boolean addFile(File file)
file
in to the list of to be uploaded files.file
- to be uploadedtrue
if the file was added successfully, false
otherwiseFileUpload clearAll()
FileUpload upload()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.