org.apache.struts2.showcase.fileupload
Class MultipleFileUploadUsingListAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.showcase.fileupload.MultipleFileUploadUsingListAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class MultipleFileUploadUsingListAction
extends com.opensymphony.xwork2.ActionSupport

Showcase action - multiple file upload using List

Version:
$Date: 2008-05-27 16:08:00 +0200 (Tue, 27 May 2008) $ $Id: MultipleFileUploadUsingListAction.java 660522 2008-05-27 14:08:00Z jholmes $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
MultipleFileUploadUsingListAction()
           
 
Method Summary
 List<File> getUpload()
           
 List<String> getUploadContentType()
           
 List<String> getUploadFileName()
           
 void setUpload(List<File> uploads)
           
 void setUploadContentType(List<String> contentTypes)
           
 void setUploadFileName(List<String> uploadFileNames)
           
 String upload()
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleFileUploadUsingListAction

public MultipleFileUploadUsingListAction()
Method Detail

getUpload

public List<File> getUpload()

setUpload

public void setUpload(List<File> uploads)

getUploadFileName

public List<String> getUploadFileName()

setUploadFileName

public void setUploadFileName(List<String> uploadFileNames)

getUploadContentType

public List<String> getUploadContentType()

setUploadContentType

public void setUploadContentType(List<String> contentTypes)

upload

public String upload()
              throws Exception
Throws:
Exception


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