Class FessMultipartRequestHandler.ActionMultipartFormFile

    • Field Detail

      • fileItem

        protected final org.apache.commons.fileupload.FileItem fileItem
    • Constructor Detail

      • ActionMultipartFormFile

        public ActionMultipartFormFile​(org.apache.commons.fileupload.FileItem fileItem)
    • Method Detail

      • getFileData

        public byte[] getFileData()
                           throws IOException
        Specified by:
        getFileData in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
        Throws:
        IOException
      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Specified by:
        getInputStream in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
        Throws:
        IOException
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
      • getFileSize

        public int getFileSize()
        Specified by:
        getFileSize in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
      • getFileName

        public String getFileName()
        Specified by:
        getFileName in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
      • getBaseFileName

        protected String getBaseFileName​(String filePath)
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.lastaflute.web.ruts.multipart.MultipartFormFile