|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.apache.struts2.dispatcher.DefaultActionSupport
org.apache.struts2.portlet.example.fileupload.FileUploadAction
public class FileUploadAction
File Upload example's action. FileUploadAction
| 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 | |
|---|---|
FileUploadAction()
|
|
| Method Summary | |
|---|---|
String |
getCaption()
|
File |
getUpload()
|
String |
getUploadContentType()
|
String |
getUploadFileName()
|
void |
setCaption(String caption)
|
void |
setUpload(File upload)
|
void |
setUploadContentType(String contentType)
|
void |
setUploadFileName(String fileName)
|
String |
upload()
|
| Methods inherited from class org.apache.struts2.dispatcher.DefaultActionSupport |
|---|
execute, getSuccessResultValue, setSuccessResultValue |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, 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 |
|---|
public FileUploadAction()
| Method Detail |
|---|
public String getUploadFileName()
public void setUploadFileName(String fileName)
public String getUploadContentType()
public void setUploadContentType(String contentType)
public File getUpload()
public void setUpload(File upload)
public String getCaption()
public void setCaption(String caption)
public String upload()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||