java.lang.Object | |
↳ | com.atlassian.confluence.pages.thumbnail.DefaultThumbnailManager |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.confluence.pages.thumbnail.ThumbnailManager
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
since 3.5 - not used
| |||||||||||
This method is deprecated.
since 3.5
| |||||||||||
Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it
only if it doesn't already exist.
| |||||||||||
We only store a thumbnail of the latest version of an image attachment in the format thumb_foo.jpg
When new versions of the attachment are added, this thumbnail is removed and regenerated the next time its requested.
| |||||||||||
returns the path to the thumbnail for this attachment
| |||||||||||
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
| |||||||||||
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
| |||||||||||
not currently used
| |||||||||||
checks the content type/mime type of the attachment to determine whether a thumbnail can be created from it
| |||||||||||
This method is deprecated.
since 3.5 - not used
| |||||||||||
Removes the thumbnail for the specified attachment.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.pages.thumbnail.ThumbnailManager
|
This method is deprecated.
since 3.5 - not used
checks whether the users system has AWT toolkit required to create thumbnails
Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only if it doesn't already exist. The size of the thumbnail is set by the application's configuration.
IllegalArgumentException |
---|
We only store a thumbnail of the latest version of an image attachment in the format thumb_foo.jpg When new versions of the attachment are added, this thumbnail is removed and regenerated the next time its requested.
HACK: This function assumes that the thumbnail has been created i.e getThumbnail has been called.FileNotFoundException |
---|
returns the path to the thumbnail for this attachment
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk. The address of the thumbnail will be rooted at the context path, rather than the base url. The thumbnail maximum size is taken from the global settings.
remoteAttachmentPath | path to the thumbnail, excepting the thumbnail itself. Eg the value
returned by getAttachmentRemotePath(ContentEntityObject) . |
---|
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk. The address of the thumbnail will be rooted at the context path, rather than the base url. The thumbnail maximum size is taken from the global settings.
not currently used
Exception |
---|
checks the content type/mime type of the attachment to determine whether a thumbnail can be created from it
This method is deprecated.
since 3.5 - not used
Removes the thumbnail for the specified attachment.