public class BlankFormFile extends Object implements org.apache.struts.upload.FormFile, Serializable
| Constructor and Description |
|---|
BlankFormFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getContentType() |
byte[] |
getFileData() |
String |
getFileName() |
int |
getFileSize() |
InputStream |
getInputStream() |
void |
setContentType(String contentType) |
void |
setFileName(String fileName) |
void |
setFileSize(int fileSize) |
public BlankFormFile()
public void destroy()
destroy in interface org.apache.struts.upload.FormFilepublic String getContentType()
getContentType in interface org.apache.struts.upload.FormFilepublic byte[] getFileData() throws FileNotFoundException, IOException
getFileData in interface org.apache.struts.upload.FormFileFileNotFoundExceptionIOExceptionpublic String getFileName()
getFileName in interface org.apache.struts.upload.FormFilepublic int getFileSize()
getFileSize in interface org.apache.struts.upload.FormFilepublic InputStream getInputStream() throws FileNotFoundException, IOException
getInputStream in interface org.apache.struts.upload.FormFileFileNotFoundExceptionIOExceptionpublic void setContentType(String contentType)
setContentType in interface org.apache.struts.upload.FormFilepublic void setFileName(String fileName)
setFileName in interface org.apache.struts.upload.FormFilepublic void setFileSize(int fileSize)
setFileSize in interface org.apache.struts.upload.FormFileCopyright © 2005–2016 The Kuali Foundation. All rights reserved.