egovframework.rfc3.common.util
Class UploadFile
java.lang.Object
egovframework.rfc3.common.util.UploadFile
public class UploadFile
- extends java.lang.Object
2011.04.22
- Author:
- 박형민
파일 처리
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 |
UploadFile
public UploadFile()
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: