| Package | Description |
|---|---|
| org.primefaces.event | |
| org.primefaces.model.file | |
| org.primefaces.util |
| Modifier and Type | Method and Description |
|---|---|
UploadedFile |
FileUploadEvent.getFile() |
| Constructor and Description |
|---|
FileUploadEvent(javax.faces.component.UIComponent component,
UploadedFile file) |
| Modifier and Type | Class and Description |
|---|---|
class |
CommonsUploadedFile
Default UploadedFile implementation based on Commons FileUpload FileItem
|
class |
NativeUploadedFile |
class |
UploadedFileWrapper
Internal wrapper to avoid the file binaries to beeing saved in the ViewState.
|
| Modifier and Type | Method and Description |
|---|---|
UploadedFile |
UploadedFileWrapper.getWrapped() |
| Modifier and Type | Method and Description |
|---|---|
List<UploadedFile> |
UploadedFiles.getFiles() |
List<UploadedFile> |
UploadedFilesWrapper.getFiles() |
| Constructor and Description |
|---|
UploadedFileWrapper(UploadedFile wrapped) |
| Constructor and Description |
|---|
UploadedFiles(List<UploadedFile> files) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
FileUploadUtils.isValidFile(javax.faces.context.FacesContext context,
FileUpload fileUpload,
UploadedFile uploadedFile) |
static boolean |
FileUploadUtils.isValidType(PrimeApplicationContext context,
FileUpload fileUpload,
UploadedFile uploadedFile)
Check if an uploaded file meets all specifications regarding its filename and content type.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
FileUploadUtils.areValidFiles(javax.faces.context.FacesContext context,
FileUpload fileUpload,
List<UploadedFile> files) |
Copyright © 2020. All rights reserved.