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: 2012-10-19 20:49:39 +0200 (Fri, 19 Oct 2012) $ $Id: MultipleFileUploadUsingListAction.java 1400220 2012-10-19 18:49:39Z jogep $
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, getFormatted, 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-2013 Apache Software Foundation. All Rights Reserved.