com.atlassian.confluence.renderer.embedded
Interface ImagePathHelper
- All Known Implementing Classes:
- RendererAttachmentManager
public interface ImagePathHelper
PLEASE NOTE: This interface was designed to work closely with the ThumbnailInfo object, to provide a way
to vary the path it uses to generate the data.
If you are going to us it for another purpose it is time to consider refactoring.
Method Summary |
java.lang.String |
getImagePath(Attachment attachment,
boolean isThumbnail)
Return the path used to access the specified image. |
getImagePath
java.lang.String getImagePath(Attachment attachment,
boolean isThumbnail)
- Return the path used to access the specified image. Note: it is expected that the
attachment references an image.
- Parameters:
attachment
- isThumbnail
-
- Returns:
Copyright © 2003-2010 Atlassian. All Rights Reserved.