org.alfresco.web.bean
Class FileUploadBean
java.lang.Object
org.alfresco.web.bean.FileUploadBean
- All Implemented Interfaces:
- java.io.Serializable
public final class FileUploadBean
- extends java.lang.Object
- implements java.io.Serializable
Bean to hold the results of a file upload
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_UPLOAD_BEAN_NAME
public static final java.lang.String FILE_UPLOAD_BEAN_NAME
- See Also:
- Constant Field Values
FileUploadBean
public FileUploadBean()
getKey
public static java.lang.String getKey(java.lang.String id)
getFile
public java.io.File getFile()
- Returns:
- Returns the file
setFile
public void setFile(java.io.File file)
- Parameters:
file
- The file to set
getFileName
public java.lang.String getFileName()
- Returns:
- Returns the name of the file uploaded
setFileName
public void setFileName(java.lang.String fileName)
- Parameters:
fileName
- The name of the uploaded file
getFilePath
public java.lang.String getFilePath()
- Returns:
- Returns the path of the file uploaded
setFilePath
public void setFilePath(java.lang.String filePath)
- Parameters:
filePath
- The file path of the uploaded file
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.