|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.webapps.form
Class DBFileForm

java.lang.Objectorg.apache.struts.action.ActionForm
com.RuntimeCollective.webapps.form.DataTypeForm
com.RuntimeCollective.webapps.form.DBFileForm
- All Implemented Interfaces:
- BeanForm, java.io.Serializable
- public abstract class DBFileForm
- extends DataTypeForm
Represents the information stored in a DBFile.
By default, no validation is performed.
- Version:
- $Id: DBFileForm.java,v 1.3 2003/09/30 15:13:13 joe Exp $
| Field Summary | |
private int |
bytesRead
|
private boolean |
eof
|
private org.apache.struts.upload.FormFile |
file
|
private byte[] |
fileData
|
| Fields inherited from class com.RuntimeCollective.webapps.form.DataTypeForm |
|
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Constructor Summary | |
DBFileForm()
|
|
| Method Summary | |
boolean |
fileLongerThan(int size)
|
org.apache.struts.upload.FormFile |
getFile()
get the file. |
byte[] |
getFileData(int maxBytes)
|
private void |
initialise()
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setFile(org.apache.struts.upload.FormFile file)
set the file. |
| Methods inherited from class com.RuntimeCollective.webapps.form.DataTypeForm |
getActionFormName, getActionFormPrefix, getFormAction, setActionFormName, setFormAction |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.RuntimeCollective.webapps.form.BeanForm |
populateBean, populateForm |
| Field Detail |
file
private org.apache.struts.upload.FormFile file
fileData
private byte[] fileData
bytesRead
private int bytesRead
eof
private boolean eof
| Constructor Detail |
DBFileForm
public DBFileForm()
| Method Detail |
getFile
public org.apache.struts.upload.FormFile getFile()
- get the file.
setFile
public void setFile(org.apache.struts.upload.FormFile file)
- set the file.
getFileData
public byte[] getFileData(int maxBytes)
fileLongerThan
public boolean fileLongerThan(int size)
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Specified by:
resetin interfaceBeanForm- Overrides:
resetin classDataTypeForm
initialise
private void initialise()
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> webapps >> [ form overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC