| java.lang.Object | |
| ↳ | com.atlassian.confluence.pages.AttachmentUtils |
All versions of attachments in confluence are stored under a folder labeled with the name with the name of the attachment.
Example:
foo.gif (directory)
|
`-- 1 (file)
|
`-- 2 (file)
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
since 3.1 this method returns an incorrect path. Use
getDirectoryForAttachmentContainer(long, long)
| |||||||||||
Returns the attachment data as an InputStream
This method is not specific to any implementation of the AttachmentManager.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
This method is deprecated.
since 3.1 this method returns an incorrect path. Use getDirectoryForAttachmentContainer(long, long)
Returns the attachment data as an InputStream
This method is not specific to any implementation of the AttachmentManager.| attachment | the attachment the data should be retrieved for |
|---|
| IllegalStateException | if the AttachmentManager could not be retrieved from the application context |
|---|

