Class FessMultipartRequestHandler.ActionMultipartFormFile
- java.lang.Object
-
- org.codelibs.fess.mylasta.direction.sponsor.FessMultipartRequestHandler.ActionMultipartFormFile
-
- All Implemented Interfaces:
Serializable,org.lastaflute.web.ruts.multipart.MultipartFormFile
- Enclosing class:
- FessMultipartRequestHandler
protected static class FessMultipartRequestHandler.ActionMultipartFormFile extends Object implements org.lastaflute.web.ruts.multipart.MultipartFormFile, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.fileupload.FileItemfileItem
-
Constructor Summary
Constructors Constructor Description ActionMultipartFormFile(org.apache.commons.fileupload.FileItem fileItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected StringgetBaseFileName(String filePath)StringgetContentType()byte[]getFileData()StringgetFileName()intgetFileSize()InputStreamgetInputStream()StringtoString()
-
-
-
Method Detail
-
getFileData
public byte[] getFileData() throws IOException- Specified by:
getFileDatain interfaceorg.lastaflute.web.ruts.multipart.MultipartFormFile- Throws:
IOException
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfaceorg.lastaflute.web.ruts.multipart.MultipartFormFile- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceorg.lastaflute.web.ruts.multipart.MultipartFormFile
-
getFileSize
public int getFileSize()
- Specified by:
getFileSizein interfaceorg.lastaflute.web.ruts.multipart.MultipartFormFile
-
getFileName
public String getFileName()
- Specified by:
getFileNamein interfaceorg.lastaflute.web.ruts.multipart.MultipartFormFile
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.lastaflute.web.ruts.multipart.MultipartFormFile
-
-