Class UploadedFile
java.lang.Object
org.hippoecm.frontend.plugins.yui.upload.model.UploadedFile
This class represents the file that is being uploaded. It contains the file and some extra information. This object
is initialized with the data from the original object being uploaded and can be transformed during the execution of
IUploadPreProcessor.process(UploadedFile)
, so the data can be transformed before being persisted.-
Constructor Summary
ConstructorDescriptionUploadedFile
(File file, org.apache.commons.fileupload2.core.FileItem<?> fileItem) -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
boolean
void
setContentType
(String contentType) void
setFileName
(String fileName)
-
Constructor Details
-
UploadedFile
-
-
Method Details
-
getFile
-
getFieldName
-
getContentType
-
setContentType
-
isFormField
public boolean isFormField() -
getFileName
-
setFileName
-