@ProviderType
public interface ThumbnailHelper
ThumbnailHelper provides an interface to alter a
thumbnail 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 the
width and height selectors are replaced by the provided
request attributes width and height. The default value for
the request attributes width and height is 319 if
omitted.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getThumbnail()
Returns the altered thumbnail path containing the specified width and
height or the original thumbnail path if not applicable.
|
Copyright © 2010 - 2023 Adobe. All Rights Reserved