org.deegree.client.core.model
Class UploadedFile
java.lang.Object
  
org.deegree.client.core.model.UploadedFile
- All Implemented Interfaces: 
 - Serializable
 
public class UploadedFile
- extends Object
- implements Serializable
  
UploadedFile wraps the uploaded file item
- Version:
 
  - $Revision: $, $Date: $
 
- Author:
 
  - Lyn Buesching, last edited by: $Author: lyn $
 
- See Also:
 - Serialized Form
 
 
 
 
UploadedFile
public UploadedFile()
delete
public boolean delete()
- Deletes the file
 
- Returns:
 
 
 
getAbsolutePath
public String getAbsolutePath()
 
- Returns:
 - the absolute path of the uploaded file
 
 
getFileName
public String getFileName()
 
- Returns:
 - the name of the uploaded file
 
 
getFileItem
public org.apache.commons.fileupload.FileItem getFileItem()
 
- Returns:
 - the uploaded file item
 
 
getUrl
public URL getUrl()
 
- Returns:
 - the web accessible url of the uploaded file
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
setFileItem
public void setFileItem(org.apache.commons.fileupload.FileItem fileItem)
 
 
setUrl
public void setUrl(URL url)
 
 
setAbsolutePath
public void setAbsolutePath(String absolutePath)
 
 
Copyright © 2011. All Rights Reserved.