Class FileUploader

java.lang.Object
io.goobi.viewer.model.files.upload.FileUploader

public class FileUploader extends Object
This file capsules file uploading via jsf h:inputFile
  • Constructor Details

    • FileUploader

      public FileUploader()
  • Method Details

    • upload

      public void upload()
    • getFile

      public javax.servlet.http.Part getFile()
    • setFile

      public void setFile(javax.servlet.http.Part uploadedFile)
    • getFileContents

      public byte[] getFileContents()
    • isError

      public boolean isError()
    • isUploaded

      public boolean isUploaded()
    • getError

      public Exception getError()
    • getDownloadPath

      public Path getDownloadPath()
    • setDownloadPath

      public void setDownloadPath(Path downloadPath)
    • isReadoForUpload

      public boolean isReadoForUpload()