KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > appfuse > webapp > action > FileDisplay


1 package org.appfuse.webapp.action;
2
3 import org.apache.tapestry.request.IUploadFile;
4
5 /**
6 * This class handles the uploading of a file and writing it to
7 * the filesystem. Eventually, it will also add support for persisting the
8 * files information into the database.
9 *
10 * <p>
11 * <a HREF="UploadAction.java.htm"><i>View Source</i></a>
12 * </p>
13 *
14 * @author <a HREF="mailto:matt@raibledesigns.com">Matt Raible</a>
15 */

16 public abstract class FileDisplay extends BasePage {
17     public abstract void setFile(IUploadFile file);
18     public abstract IUploadFile getFile();
19     
20     public abstract void setName(String JavaDoc name);
21     public abstract String JavaDoc getName();
22     
23     public abstract void setFilePath(String JavaDoc path);
24     public abstract String JavaDoc getFilePath();
25     
26     public abstract void setUrl(String JavaDoc url);
27     public abstract String JavaDoc getUrl();
28 }
29
Popular Tags