org.codelabor.system.file.web.struts.form
Class FileUploadForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.codelabor.system.web.struts.form.BaseForm
          extended by org.codelabor.system.file.web.struts.form.FileUploadForm
All Implemented Interfaces:
Serializable

public class FileUploadForm
extends org.codelabor.system.web.struts.form.BaseForm

파일 업로드 Form

Author:
Shin Sang-jae
See Also:
Serialized Form

Field Summary
protected  String[] fileId
          파일 Id 배열
protected  List<org.apache.struts.upload.FormFile> formFileList
          Form File List
protected  String mapId
          Map Id
 
Fields inherited from class org.codelabor.system.web.struts.form.BaseForm
logger
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
FileUploadForm()
          생성자
 
Method Summary
 org.apache.struts.upload.FormFile getFile(int index)
          Form File을 가져온다.
 String[] getFileId()
          파일 Id를 가져온다.
 List<org.apache.struts.upload.FormFile> getFormFileList()
          Form File List를 가져온다.
 String getMapId()
          Map Id를 가져온다.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void setFile(int index, org.apache.struts.upload.FormFile formFile)
          Form File을 설정한다.
 void setFileId(String[] fileId)
          파일 배열을 설정한다.
 void setMapId(String mapId)
          Map Id를 설정한다.
 String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileId

protected String[] fileId
파일 Id 배열


formFileList

protected List<org.apache.struts.upload.FormFile> formFileList
Form File List


mapId

protected String mapId
Map Id

Constructor Detail

FileUploadForm

public FileUploadForm()
생성자

Method Detail

getFileId

public String[] getFileId()
파일 Id를 가져온다.

Returns:
파일 Id 배열

setFileId

public void setFileId(String[] fileId)
파일 배열을 설정한다.

Parameters:
fileId - 파일 Id 배열

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class org.apache.struts.action.ActionForm

setFile

public void setFile(int index,
                    org.apache.struts.upload.FormFile formFile)
Form File을 설정한다.

Parameters:
index - 인덱스
formFile - Form File

getFile

public org.apache.struts.upload.FormFile getFile(int index)
Form File을 가져온다.

Parameters:
index - 인덱스
Returns:
Form File

getFormFileList

public List<org.apache.struts.upload.FormFile> getFormFileList()
Form File List를 가져온다.

Returns:
Form File List

getMapId

public String getMapId()
Map Id를 가져온다.

Returns:
Map Id

setMapId

public void setMapId(String mapId)
Map Id를 설정한다.

Parameters:
mapId - Map Id

toString

public String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class Object
Returns:
a String representation of this object.


Copyright © 2011 CODELABOR. All Rights Reserved.