org.kaoriha.jspbp.helloworld
Class FileForm

java.lang.Object
  extended by org.kaoriha.jspbp.helloworld.FileForm
All Implemented Interfaces:
org.kaoriha.jspbp.BeforeGettable, org.kaoriha.jspbp.BeforePostable

public class FileForm
extends Object
implements org.kaoriha.jspbp.BeforeGettable, org.kaoriha.jspbp.BeforePostable


Constructor Summary
FileForm()
           
 
Method Summary
 void beforeGet(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)
           
 void beforePost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String getA()
           
 String getB()
           
 String getC()
           
 org.apache.commons.fileupload.FileItem getFile()
           
 String getFileContent()
           
 String getFileContentType()
           
 String getFilename()
           
 String getFilesize()
           
 void setA(String a)
           
 void setB(String b)
           
 void setC(String c)
           
 void setFile(org.apache.commons.fileupload.FileItem file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileForm

public FileForm()
Method Detail

beforeGet

public void beforeGet(javax.servlet.http.HttpServletRequest arg0,
                      javax.servlet.http.HttpServletResponse arg1)
               throws IOException,
                      javax.servlet.ServletException
Specified by:
beforeGet in interface org.kaoriha.jspbp.BeforeGettable
Throws:
IOException
javax.servlet.ServletException

beforePost

public void beforePost(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws IOException,
                       javax.servlet.ServletException
Specified by:
beforePost in interface org.kaoriha.jspbp.BeforePostable
Throws:
IOException
javax.servlet.ServletException

getA

public String getA()

setA

public void setA(String a)

getB

public String getB()

setB

public void setB(String b)

getC

public String getC()

setC

public void setC(String c)

setFile

public void setFile(org.apache.commons.fileupload.FileItem file)

getFile

public org.apache.commons.fileupload.FileItem getFile()

getFilename

public String getFilename()

getFileContentType

public String getFileContentType()

getFilesize

public String getFilesize()

getFileContent

public String getFileContent()


Copyright ? 2007-2008 Hound. All Rights Reserved.