org.kuali.rice.kns.web.struts.form
Class BlankFormFile
java.lang.Object
   org.kuali.rice.kns.web.struts.form.BlankFormFile
org.kuali.rice.kns.web.struts.form.BlankFormFile
- All Implemented Interfaces: 
- Serializable, org.apache.struts.upload.FormFile
- public class BlankFormFile 
- extends Object- implements org.apache.struts.upload.FormFile, Serializable
Empty FormFile instance, used to clear out FormFile attributes of Struts forms.
- See Also:
- Serialized Form
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BlankFormFile
public BlankFormFile()
destroy
public void destroy()
- 
- Specified by:
- destroyin interface- org.apache.struts.upload.FormFile
 
- 
 
getContentType
public String getContentType()
- 
- Specified by:
- getContentTypein interface- org.apache.struts.upload.FormFile
 
- 
 
getFileData
public byte[] getFileData()
                   throws FileNotFoundException,
                          IOException
- 
- Specified by:
- getFileDatain interface- org.apache.struts.upload.FormFile
 
- 
- Throws:
- FileNotFoundException
- IOException
 
getFileName
public String getFileName()
- 
- Specified by:
- getFileNamein interface- org.apache.struts.upload.FormFile
 
- 
 
getFileSize
public int getFileSize()
- 
- Specified by:
- getFileSizein interface- org.apache.struts.upload.FormFile
 
- 
 
getInputStream
public InputStream getInputStream()
                           throws FileNotFoundException,
                                  IOException
- 
- Specified by:
- getInputStreamin interface- org.apache.struts.upload.FormFile
 
- 
- Throws:
- FileNotFoundException
- IOException
 
setContentType
public void setContentType(String contentType)
- 
- Specified by:
- setContentTypein interface- org.apache.struts.upload.FormFile
 
- 
 
setFileName
public void setFileName(String fileName)
- 
- Specified by:
- setFileNamein interface- org.apache.struts.upload.FormFile
 
- 
 
setFileSize
public void setFileSize(int fileSize)
- 
- Specified by:
- setFileSizein interface- org.apache.struts.upload.FormFile
 
- 
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.