org.alfresco.web.bean
Class FileUploadBean

java.lang.Object
  extended by 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

Field Summary
static java.lang.String FILE_UPLOAD_BEAN_NAME
           
 
Constructor Summary
FileUploadBean()
           
 
Method Summary
 java.io.File getFile()
           
 java.lang.String getFileName()
           
 java.lang.String getFilePath()
           
static java.lang.String getKey(java.lang.String id)
           
 void setFile(java.io.File file)
           
 void setFileName(java.lang.String fileName)
           
 void setFilePath(java.lang.String filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_UPLOAD_BEAN_NAME

public static final java.lang.String FILE_UPLOAD_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

FileUploadBean

public FileUploadBean()
Method Detail

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.