java.lang.Object
org.hippoecm.frontend.plugins.yui.upload.model.UploadedFile

public class UploadedFile extends Object
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 Details

    • UploadedFile

      public UploadedFile(File file, org.apache.commons.fileupload2.core.FileItem<?> fileItem)
  • Method Details

    • getFile

      public File getFile()
    • getFieldName

      public String getFieldName()
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)
    • isFormField

      public boolean isFormField()
    • getFileName

      public String getFileName()
    • setFileName

      public void setFileName(String fileName)