java.lang.Object |
↳ |
com.atlassian.confluence.pages.attachments.DefaultImageDetailsManager |
Class Overview
Calculates, stores and retrieves ImageDetails
for Attachment
s.
This manager listens for attachment events in order to proactively store image
details for newly created or updated attachments, and to delete image details for
deleted or outdated attachments.
ImageDetails are not stored for old versions of attachments, they are calculated
each time when required.
Public Constructors
public
DefaultImageDetailsManager
()
Public Methods
public
Class[]<?>
getHandledEventClasses
()
If attachment
is an intelligble image, then this method returns the
ImageDetails
for it. Otherwise it returns null.
Returns
- image details of the attachment or null if the attachment could not be parsed as an image.
public
void
handleEvent
(Event event)