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
 String getImagePath(Attachment attachment, boolean isThumbnail)
          Return the path used to access the specified image.
 

Method Detail

getImagePath

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.



Copyright © 2003–2015 Atlassian. All rights reserved.