⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fileuploadform.java

📁 不说了
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.david.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import org.apache.struts.validator.ValidatorForm;

/** 
 * MyEclipse Struts
 * Creation date: 10-20-2007
 * 
 * XDoclet definition:
 * @struts.form name="fileUploadForm"
 */
public class FileUploadForm extends ValidatorForm {
	/*
	 * Generated fields
	 */

	/** fileName property */
	private String fileName;

	/** category property */
	private Integer category;

	/** fileIntro property */
	private String fileIntro;

	/** point property */
	private Integer point;

	/** theFile property */
	private FormFile theFile;

	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	/** 
	 * Returns the fileName.
	 * @return String
	 */
	public String getFileName() {
		return fileName;
	}

	/** 
	 * Set the fileName.
	 * @param fileName The fileName to set
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/** 
	 * Returns the category.
	 * @return Integer
	 */
	public Integer getCategory() {
		return category;
	}

	/** 
	 * Set the category.
	 * @param category The category to set
	 */
	public void setCategory(Integer category) {
		this.category = category;
	}

	/** 
	 * Returns the fileIntro.
	 * @return String
	 */
	public String getFileIntro() {
		return fileIntro;
	}

	/** 
	 * Set the fileIntro.
	 * @param fileIntro The fileIntro to set
	 */
	public void setFileIntro(String fileIntro) {
		this.fileIntro = fileIntro;
	}

	/** 
	 * Returns the point.
	 * @return Integer
	 */
	public Integer getPoint() {
		return point;
	}

	/** 
	 * Set the point.
	 * @param point The point to set
	 */
	public void setPoint(Integer point) {
		this.point = point;
	}

	/** 
	 * Returns the theFile.
	 * @return String
	 */
	public FormFile getTheFile() {
		return theFile;
	}

	/** 
	 * Set the theFile.
	 * @param theFile The theFile to set
	 */
	public void setTheFile(FormFile theFile) {
		this.theFile = theFile;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -