com.atlassian.confluence.pages
Class DefaultFileUploadManager
java.lang.Object
com.atlassian.confluence.pages.DefaultFileUploadManager
- All Implemented Interfaces:
- FileUploadManager
public class DefaultFileUploadManager
- extends java.lang.Object
- implements FileUploadManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFileUploadManager
public DefaultFileUploadManager()
verifyFile
public java.util.Collection verifyFile(java.lang.String fileName,
com.atlassian.xwork.FileUploadUtils.UploadedFile[] uploadedFiles)
- Description copied from interface:
FileUploadManager
- Checks filename for illegal characters.
Checks whether file exists
- Specified by:
verifyFile
in interface FileUploadManager
- Returns:
- filename or file not found errors
storeResource
public void storeResource(UploadedResource resource,
java.lang.String comment,
ContentEntityObject ceo)
- Specified by:
storeResource
in interface FileUploadManager
storeFile
public void storeFile(com.atlassian.xwork.FileUploadUtils.UploadedFile uploadedFile,
java.lang.String comment,
ContentEntityObject ceo)
- Specified by:
storeFile
in interface FileUploadManager
setAttachmentManager
public void setAttachmentManager(AttachmentManager attachmentManager)
- Specified by:
setAttachmentManager
in interface FileUploadManager
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.