org.apache.jetspeed.modules.actions.portlets.designer
Class FileUploader

java.lang.Object
  extended byorg.apache.jetspeed.modules.actions.portlets.designer.FileUploader

public class FileUploader
extends java.lang.Object

File Uploader helper

Version:
$Id: FileUploader.java,v 1.1 2004/03/10 22:53:59 taylor Exp $
Author:
Jonas Lim

Constructor Summary
FileUploader()
           
 
Method Summary
 java.lang.String getFilename(org.apache.turbine.util.upload.FileItem fileItem, java.lang.String location, java.lang.String[] fileTypes)
           
 boolean upload(org.apache.turbine.util.upload.FileItem fileItem, java.lang.String location, java.lang.String[] fileTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploader

public FileUploader()
Method Detail

upload

public boolean upload(org.apache.turbine.util.upload.FileItem fileItem,
                      java.lang.String location,
                      java.lang.String[] fileTypes)

getFilename

public java.lang.String getFilename(org.apache.turbine.util.upload.FileItem fileItem,
                                    java.lang.String location,
                                    java.lang.String[] fileTypes)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.