Class StringUtil.StringWrapper

  • Enclosing class:
    StringUtil

    public static class StringUtil.StringWrapper
    extends java.lang.Object
    A super-lightweight object to wrap a String object. Mainly used with FTL templates to avoid the general HTML auto-encoding that is now done through the Screen Widget.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StringWrapper()  
        StringWrapper​(java.lang.String theString)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String plus​(java.lang.Object value)
      Fairly simple method used for the plus (+) base concatenation in Groovy.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • StringWrapper

        protected StringWrapper()
      • StringWrapper

        public StringWrapper​(java.lang.String theString)
    • Method Detail

      • plus

        public java.lang.String plus​(java.lang.Object value)
        Fairly simple method used for the plus (+) base concatenation in Groovy.
        Parameters:
        value -
        Returns:
        the wrapped string, plus the value
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        The String this object wraps.