Package com.adobe.cq.inbox.ui
Interface ThumbnailHelper
-
public interface ThumbnailHelper
TheThumbnailHelper
provides an interface to alter athumbnail
path.The implementation expects the provided request attribute
thumbnail
to match the Regular Expression pattern(.*?)\.thumb\.\d+\.\d+\.(.*)
, otherwise the passed in value will be returned. If the pattern matches thewidth
andheight
selectors are replaced by the provided request attributeswidth
andheight
. The default value for the request attributeswidth
andheight
is319
if omitted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getThumbnail()
Returns the altered thumbnail path containing the specified width and height or the original thumbnail path if not applicable.
-