egovframework.rfc3.common.util
Class UploadFile

java.lang.Object
  extended by egovframework.rfc3.common.util.UploadFile

public class UploadFile
extends java.lang.Object

2011.04.22

Author:
박형민 파일 처리

Constructor Summary
UploadFile()
           
 
Method Summary
 boolean isPermitExt(java.lang.String originalFileName, java.lang.String limitFileExt)
          제한 확장자 검사
 java.util.List uploadFile(org.springframework.web.multipart.MultipartHttpServletRequest multiRequest, java.lang.String userUploadPath)
          박 형 민 2011.04.22
 java.util.List uploadFile(org.springframework.web.multipart.MultipartHttpServletRequest multiRequest, java.lang.String userUploadPath, java.lang.String limitFileExt)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadFile

public UploadFile()
Method Detail

uploadFile

public java.util.List uploadFile(org.springframework.web.multipart.MultipartHttpServletRequest multiRequest,
                                 java.lang.String userUploadPath)
                          throws java.lang.Exception
박 형 민 2011.04.22

Parameters:
multiRequest - 멀티 파트
userUploadPath - 파일 위치
userManageVO - 사용자VO
Returns:
Map
Throws:
java.lang.Exception - 파일 처리

uploadFile

public java.util.List uploadFile(org.springframework.web.multipart.MultipartHttpServletRequest multiRequest,
                                 java.lang.String userUploadPath,
                                 java.lang.String limitFileExt)
                          throws java.lang.Exception
Throws:
java.lang.Exception

isPermitExt

public boolean isPermitExt(java.lang.String originalFileName,
                           java.lang.String limitFileExt)
제한 확장자 검사

Parameters:
originalFileName -
limitFileExt - = {zip,hwp,xls,rar,jpg,gif,bmp,txt,ppt,doc,pdf,xlsx,pptx,jpeg}
Returns: