com.atlassian.confluence.util
Class AttachFileHelper

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

public class AttachFileHelper
extends Object


Constructor Summary
AttachFileHelper(com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper multipartRequestWrapper, int maxAttachments)
           
 
Method Summary
 String getCommentForFilename(String filename)
           
 Collection<String> getErrors()
           
 List<com.atlassian.xwork.FileUploadUtils.UploadedFile> getUploadedFiles()
           
 void initUploadedFiles()
           
 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(com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper multipartRequestWrapper,
                        int maxAttachments)
Method Detail

getUploadedFiles

public List<com.atlassian.xwork.FileUploadUtils.UploadedFile> getUploadedFiles()

initUploadedFiles

public void initUploadedFiles()

validateAttachments

public void validateAttachments()

getCommentForFilename

public String getCommentForFilename(String filename)

getErrors

public Collection<String> getErrors()


Copyright © 2003-2011 Atlassian. All Rights Reserved.