public class AttachmentUtils extends Object
Constructor and Description |
---|
AttachmentUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getConfluenceAttachmentDirectory()
Deprecated.
since 5.5. Use
AtlassianBootstrapManager.getFilePathProperty(String) and ConfluenceBootstrapConstants.ATTACHMENTS_DIR_PROP |
static InputStream |
getLatestAttachmentStream(Attachment attachment)
Deprecated.
Since 5.5. Use
AttachmentManager.getAttachmentData(Attachment) |
@Deprecated public static InputStream getLatestAttachmentStream(Attachment attachment)
AttachmentManager.getAttachmentData(Attachment)
This method is not specific to any implementation of the AttachmentManager.
attachment
- the attachment the data should be retrieved forIllegalStateException
- if the AttachmentManager could not be retrieved from the application context@Deprecated public static String getConfluenceAttachmentDirectory()
AtlassianBootstrapManager.getFilePathProperty(String)
and ConfluenceBootstrapConstants.ATTACHMENTS_DIR_PROP
Copyright © 2003–2017 Atlassian. All rights reserved.