Author: andrei_exadel
Date: 2008-03-25 12:59:25 -0400 (Tue, 25 Mar 2008)
New Revision: 7213
Modified:
trunk/framework/api/src/main/java/org/richfaces/model/UploadItem.java
Log:
RF-2765
Modified: trunk/framework/api/src/main/java/org/richfaces/model/UploadItem.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/UploadItem.java 2008-03-25
16:40:15 UTC (rev 7212)
+++ trunk/framework/api/src/main/java/org/richfaces/model/UploadItem.java 2008-03-25
16:59:25 UTC (rev 7213)
@@ -19,6 +19,9 @@
/** Users file name */
private String fileName;
+ /** Full file name path */
+ private String fullFileName;
+
/** java.io.File instance */
private File file;
@@ -28,8 +31,9 @@
/**
* Constructor for the UploadItem
*/
- public UploadItem(String fileName, Object file) {
+ public UploadItem(String fileName, String fullName, Object file) {
this.fileName = fileName;
+ this.fullFileName = fullName;
if (null != file) {
if (file.getClass().isAssignableFrom(File.class)) {
this.file = (File) file;
@@ -69,6 +73,11 @@
public String getFileName() {
return fileName;
}
-
+ /**
+ * @return the fullFileName
+ */
+ public String getFullFileName() {
+ return fullFileName;
+ }
}