| com.atlassian.jira.issue.attachment.ThumbnailAccessor |
Known Indirect Subclasses
|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Deletes the thumbnail directory for a given issue, deleting its contents if necessary.
| |||||||||||
Returns the old legacy file name for thumbnails.
| |||||||||||
Returns the physical directory of the thumbnails for the given issue, creating if necessary.
| |||||||||||
Just like the attachments themselves, thumbnails can succumb to file system encoding problems.
| |||||||||||
Returns the file handle for the given attachment's thumbnail.
| |||||||||||
Deletes the thumbnail directory for a given issue, deleting its contents if necessary.
| issue | The issue whose thumbnail directory you want to delete. |
|---|
Returns the old legacy file name for thumbnails. http://jira.atlassian.com/browse/JRA-23311
| attachment | the attachment in play |
|---|
Returns the physical directory of the thumbnails for the given issue, creating if necessary.
| issue | the issue whose thumbnail directory you want |
|---|
Just like the attachments themselves, thumbnails can succumb to file system encoding problems. However we are going to regenerate thumbnails by only using the new naming scheme and not the legacy one. We cant do this for attachments but we can for thumbnails since they are epheral objects anyway. http://jira.atlassian.com/browse/JRA-23311
| attachment | the attachment for which to get the thumbnail file |
|---|
Returns the file handle for the given attachment's thumbnail. This method performs
better than getThumbnailFile(Attachment) if you already have the issue.
| issue | the issue to which the attachment belongs |
|---|---|
| attachment | the attachment for which to get the thumbnail file |

