Class FessMultipartRequestHandler.ActionMultipartFormFile

  • All Implemented Interfaces:
    java.io.Serializable, org.lastaflute.web.ruts.multipart.MultipartFormFile
    Enclosing class:
    FessMultipartRequestHandler

    protected static class FessMultipartRequestHandler.ActionMultipartFormFile
    extends java.lang.Object
    implements org.lastaflute.web.ruts.multipart.MultipartFormFile, java.io.Serializable
    See Also:
    Serialized Form
    • 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 java.io.IOException
        Specified by:
        getFileData in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
        Throws:
        java.io.IOException
      • getInputStream

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

        public java.lang.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 java.lang.String getFileName()
        Specified by:
        getFileName in interface org.lastaflute.web.ruts.multipart.MultipartFormFile
      • getBaseFileName

        protected java.lang.String getBaseFileName​(java.lang.String filePath)
      • destroy

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object