1 2 package org.roller.presentation.website.formbeans; 3 4 import org.apache.struts.upload.FormFile; 5 6 7 11 public class UploadFileForm 12 extends org.apache.struts.action.ActionForm 13 { 14 protected transient FormFile mUploadedFile = null; 16 17 protected String [] mDeleteFiles; 19 20 public UploadFileForm() 21 { 22 super(); 23 } 24 25 27 28 30 31 33 34 public void setUploadedFile(FormFile file) { mUploadedFile = file; } 35 36 37 public FormFile getUploadedFile() { return mUploadedFile; } 38 39 40 public void setDeleteFiles(String [] fileNames) 41 { 42 mDeleteFiles = fileNames; 43 } 44 45 46 public String [] getDeleteFiles() { return mDeleteFiles; } 47 } 48 49 | Popular Tags |