Class BlankFormFile

java.lang.Object
org.kuali.rice.kns.web.struts.form.BlankFormFile
All Implemented Interfaces:
Serializable, org.apache.struts.upload.FormFile

@Deprecated public class BlankFormFile extends Object implements org.apache.struts.upload.FormFile, Serializable
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
Empty FormFile instance, used to clear out FormFile attributes of Struts forms.
See Also:
  • Constructor Details

    • BlankFormFile

      public BlankFormFile()
      Deprecated.
  • Method Details

    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface org.apache.struts.upload.FormFile
    • getContentType

      public String getContentType()
      Deprecated.
      Specified by:
      getContentType in interface org.apache.struts.upload.FormFile
    • getFileData

      public byte[] getFileData() throws FileNotFoundException, IOException
      Deprecated.
      Specified by:
      getFileData in interface org.apache.struts.upload.FormFile
      Throws:
      FileNotFoundException
      IOException
    • getFileName

      public String getFileName()
      Deprecated.
      Specified by:
      getFileName in interface org.apache.struts.upload.FormFile
    • getFileSize

      public int getFileSize()
      Deprecated.
      Specified by:
      getFileSize in interface org.apache.struts.upload.FormFile
    • getInputStream

      public InputStream getInputStream() throws FileNotFoundException, IOException
      Deprecated.
      Specified by:
      getInputStream in interface org.apache.struts.upload.FormFile
      Throws:
      FileNotFoundException
      IOException
    • setContentType

      public void setContentType(String contentType)
      Deprecated.
      Specified by:
      setContentType in interface org.apache.struts.upload.FormFile
    • setFileName

      public void setFileName(String fileName)
      Deprecated.
      Specified by:
      setFileName in interface org.apache.struts.upload.FormFile
    • setFileSize

      public void setFileSize(int fileSize)
      Deprecated.
      Specified by:
      setFileSize in interface org.apache.struts.upload.FormFile