Package com.atlassian.confluence.pages
Class AttachmentUtils
- java.lang.Object
- 
- com.atlassian.confluence.pages.AttachmentUtils
 
- 
 public class AttachmentUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description AttachmentUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InputStreamgetLatestAttachmentStream(Attachment attachment)Deprecated.Since 5.5.
 
- 
- 
- 
Method Detail- 
getLatestAttachmentStream@Deprecated public static InputStream getLatestAttachmentStream(Attachment attachment) Deprecated.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
 
 
- 
 
-