com.atlassian.confluence.util
Class AttachFileHelper

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

public class AttachFileHelper
extends java.lang.Object


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

initUploadedFiles

public void initUploadedFiles()

validateAttachments

public void validateAttachments()

getCommentForFilename

public java.lang.String getCommentForFilename(java.lang.String filename)

getErrors

public java.util.Collection<java.lang.String> getErrors()


Copyright © 2003-2014 Atlassian. All Rights Reserved.