Class StringUtil.StringWrapper

  • Enclosing class:

    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

      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
    • Field Detail

      • theString

        protected java.lang.String theString
    • 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.
        value -
        the wrapped string, plus the value
      • toString

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