org.apache.struts2.showcase.fileupload
Class MultipleFileUploadUsingArrayAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.showcase.fileupload.MultipleFileUploadUsingArrayAction
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 MultipleFileUploadUsingArrayAction
extends com.opensymphony.xwork2.ActionSupport

Showcase action - mutiple file upload using array.

Version:
$Date: 2008-05-27 16:08:00 +0200 (Tue, 27 May 2008) $ $Id: MultipleFileUploadUsingArrayAction.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
MultipleFileUploadUsingArrayAction()
           
 
Method Summary
 File[] getUpload()
           
 String[] getUploadContentType()
           
 String[] getUploadFileName()
           
 void setUpload(File[] upload)
           
 void setUploadContentType(String[] uploadContentType)
           
 void setUploadFileName(String[] uploadFileName)
           
 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

MultipleFileUploadUsingArrayAction

public MultipleFileUploadUsingArrayAction()
Method Detail

getUpload

public File[] getUpload()

setUpload

public void setUpload(File[] upload)

getUploadFileName

public String[] getUploadFileName()

setUploadFileName

public void setUploadFileName(String[] uploadFileName)

getUploadContentType

public String[] getUploadContentType()

setUploadContentType

public void setUploadContentType(String[] uploadContentType)

upload

public String upload()
              throws Exception
Throws:
Exception


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