com.atlassian.confluence.util
Class AttachFileHelper

java.lang.Object
  extended by com.atlassian.confluence.util.AttachFileHelper

public class AttachFileHelper
extends Object


Constructor Summary
AttachFileHelper(MultiPartRequestWrapper multipartRequestWrapper, int maxAttachments)
           
 
Method Summary
 String getCommentForFilename(String filename)
           
 Collection<String> getErrors()
           
 List<FileUploadUtils.UploadedFile> getUploadedFiles()
           
 void initUploadedFiles()
           
static boolean isValidFileName(String fileName)
           
 void validateAttachments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachFileHelper

public AttachFileHelper(MultiPartRequestWrapper multipartRequestWrapper,
                        int maxAttachments)
Method Detail

getUploadedFiles

public List<FileUploadUtils.UploadedFile> getUploadedFiles()

initUploadedFiles

public void initUploadedFiles()

validateAttachments

public void validateAttachments()

getCommentForFilename

public String getCommentForFilename(String filename)

getErrors

public Collection<String> getErrors()

isValidFileName

public static boolean isValidFileName(String fileName)


Confluence is developed by Atlassian.