Interface ThumbnailHelper


  • public interface ThumbnailHelper
    The 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.

    • 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.
    • Method Detail

      • getThumbnail

        java.lang.String getThumbnail()
        Returns the altered thumbnail path containing the specified width and height or the original thumbnail path if not applicable.
        Returns:
        Altered thumbnail path