Package com.atlassian.confluence.pages
Class AttachmentUtils
java.lang.Object
com.atlassian.confluence.pages.AttachmentUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic InputStreamgetLatestAttachmentStream(Attachment attachment) Deprecated.Since 5.5.
- 
Constructor Details- 
AttachmentUtilspublic AttachmentUtils()
 
- 
- 
Method Details- 
getLatestAttachmentStreamDeprecated.Since 5.5. UseAttachmentManager.getAttachmentData(Attachment)Returns the attachment data as an InputStreamThis method is not specific to any implementation of the AttachmentManager. - Parameters:
- attachment- the attachment the data should be retrieved for
- Returns:
- the InputStream from the AttachmentManager
- Throws:
- IllegalStateException- if the AttachmentManager could not be retrieved from the application context
 
 
-