Class StringExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String applyStreamCdnImageResizingIfEnabled(String $self, StreamCdnImageResizing streamCdnImageResizing) A convenience method which applies Stream CDN image resizing if it's enabled and applicable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • applyStreamCdnImageResizingIfEnabled

         final static String applyStreamCdnImageResizingIfEnabled(String $self, StreamCdnImageResizing streamCdnImageResizing)

        A convenience method which applies Stream CDN image resizing if it's enabled and applicable. It doesn't hold any special value other than minimizing repetition.

        Parameters:
        streamCdnImageResizing - Holds value information about the resizing mode including if it is enabled or not.
        Returns:

        The URL to the resized image if resizing was applicable, otherwise returns the URL to the original image.