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

📄 uploadfileform.java

📁 在j2ee开发时
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.lxoa.msg.web.form;


import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

/** 
 * MyEclipse Struts
 * Creation date: 08-31-2008
 * 
 * XDoclet definition:
 * @struts.form name="uploadFileForm"
 */
public class UploadFileForm extends ActionForm {
	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	 // Default bean constructor
    public UploadFileForm() { }

    /**
     * The file that the user has uploaded
     */
    private FormFile file;
    public FormFile getFile() { return this.file; }
    public void setFile(FormFile file) { this.file = file; }

    /**
     * The name of the file - only for displaying results
     */

    private String fname;
    public String getFname() { return this.fname; }
    public void setFname(String fname) { this.fname = fname; }
    /**
     * The size of the file - only for displaying results
     */
    private String size;
    public String getSize() { return this.size; }
    public void setSize(String size) { this.size = size; }
    
    private byte[] buffer;
	public byte[] getBuffer() {
		return buffer;
	}
	public void setBuffer(byte[] buffer) {
		this.buffer = buffer;
	}
    
}

⌨️ 快捷键说明

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