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:
java.io.Serializable

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

파일 업로드 Form

Author:
Shin Sang-jae
See Also:
Serialized Form

Field Summary
protected  java.lang.String[] fileId
          파일 Id 배열
protected  java.util.List<org.apache.struts.upload.FormFile> formFileList
          Form File List
protected  java.lang.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을 가져온다.
 java.lang.String[] getFileId()
          파일 Id를 가져온다.
 java.util.List<org.apache.struts.upload.FormFile> getFormFileList()
          Form File List를 가져온다.
 java.lang.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(java.lang.String[] fileId)
          파일 배열을 설정한다.
 void setMapId(java.lang.String mapId)
          Map Id를 설정한다.
 java.lang.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 java.lang.String[] fileId
파일 Id 배열


formFileList

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


mapId

protected java.lang.String mapId
Map Id

Constructor Detail

FileUploadForm

public FileUploadForm()
생성자

Method Detail

getFileId

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

Returns:
파일 Id 배열

setFileId

public void setFileId(java.lang.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 java.util.List<org.apache.struts.upload.FormFile> getFormFileList()
Form File List를 가져온다.

Returns:
Form File List

getMapId

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

Returns:
Map Id

setMapId

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

Parameters:
mapId - Map Id

toString

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

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


Copyright © 2011 CODELABOR. All Rights Reserved.