?? uploadfileform.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;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -