Package | Description |
---|---|
com.atlassian.confluence.content.render.image | |
com.atlassian.confluence.macro | |
com.atlassian.confluence.pages.thumbnail |
Modifier and Type | Field and Description |
---|---|
static ImageDimensions |
ImageDimensions.EMPTY |
Modifier and Type | Method and Description |
---|---|
static ImageDimensions |
ImageRenderUtils.dimensionsForImage(ImageInputStream inputStream)
Helper class that uses an
ImageReader to determine the width and height of an image. |
static ImageDimensions |
ImageRenderUtils.dimensionsForImage(InputStream is) |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleImageRenderPredicate.apply(ImageDimensions input) |
boolean |
FreeMemoryAwareImageRenderPredicate.apply(ImageDimensions input) |
Constructor and Description |
---|
DefaultImagePlaceholder(String url,
boolean applyPlaceholderChrome,
ImageDimensions imageDimensions) |
Modifier and Type | Method and Description |
---|---|
ImageDimensions |
Dimensions.getImageDimensions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.core.util.thumbnail.Thumbnail |
ThumbnailManager.getThumbnail(Attachment attachment,
ImageDimensions imageDimensions)
Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only
if it doesn't already exist.
|
com.atlassian.core.util.thumbnail.Thumbnail |
DefaultThumbnailManager.getThumbnail(Attachment attachment,
ImageDimensions imageDimensions)
Returns a thumbnail for this attachment having ensured the thumbnail exists in the filesystem, generating it only
if it doesn't already exist.
|
InputStream |
ThumbnailManager.getThumbnailData(Attachment attachment,
ImageDimensions imageDimensions)
Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.
|
InputStream |
DefaultThumbnailManager.getThumbnailData(Attachment attachment,
ImageDimensions imageDimensions)
Retrieves the thumbnail data (as a stream) of the latest version from where it was stored in the file system.
|
File |
ThumbnailManager.getThumbnailFile(Attachment attachment,
ImageDimensions imageDimensions)
Returns the path to the thumbnail for this attachment
|
File |
DefaultThumbnailManager.getThumbnailFile(Attachment attachment,
ImageDimensions imageDimensions)
Returns the path to the thumbnail for this attachment
|
ThumbnailInfo |
ThumbnailManager.getThumbnailInfo(Attachment attachment,
ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
DefaultThumbnailManager.getThumbnailInfo(Attachment attachment,
ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
ThumbnailManager.getThumbnailInfo(Attachment attachment,
String rootAttachmentPath,
ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
ThumbnailInfo |
DefaultThumbnailManager.getThumbnailInfo(Attachment attachment,
String remoteAttachmentPath,
ImageDimensions imageDimensions)
Return the details of a thumbnail for a given attachment without actually creating the thumbnail file on disk.
|
Constructor and Description |
---|
Dimensions(ImageDimensions imageDimensions)
Deprecated.
|
Copyright © 2003–2016 Atlassian. All rights reserved.