com.atlassian.confluence.pages
Class DefaultFileUploadManager

java.lang.Object
  extended bycom.atlassian.confluence.pages.DefaultFileUploadManager
All Implemented Interfaces:
FileUploadManager

public class DefaultFileUploadManager
extends Object
implements FileUploadManager


Constructor Summary
DefaultFileUploadManager()
           
 
Method Summary
 void setAttachmentManager(AttachmentManager attachmentManager)
           
 void storeFile(FileUploadUtils.UploadedFile uploadedFile, String comment, ContentEntityObject ceo)
           
 Collection verifyFile(String fileName, FileUploadUtils.UploadedFile[] uploadedFiles)
          Checks filename for illegal characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileUploadManager

public DefaultFileUploadManager()
Method Detail

verifyFile

public Collection verifyFile(String fileName,
                             FileUploadUtils.UploadedFile[] uploadedFiles)
Description copied from interface: FileUploadManager
Checks filename for illegal characters. Checks whether file exists

Specified by:
verifyFile in interface FileUploadManager
Parameters:
fileName -
uploadedFiles -
Returns:
filename or file not found errors

storeFile

public void storeFile(FileUploadUtils.UploadedFile uploadedFile,
                      String comment,
                      ContentEntityObject ceo)
Specified by:
storeFile in interface FileUploadManager

setAttachmentManager

public void setAttachmentManager(AttachmentManager attachmentManager)
Specified by:
setAttachmentManager in interface FileUploadManager


Confluence is developed by Atlassian.