Class DefaultStringFunction

  • All Implemented Interfaces:
    ToStringFunction<java.lang.String>

    public class DefaultStringFunction
    extends java.lang.Object
    implements ToStringFunction<java.lang.String>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(java.lang.String in)
      Performs the default string processing on the input string
      static java.lang.String subNonAlphaNumeric​(java.lang.String in, java.lang.String sub)
      Substitute non alphanumeric characters.
      • Methods inherited from class java.lang.Object

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

      • DefaultStringFunction

        public DefaultStringFunction()
    • Method Detail

      • subNonAlphaNumeric

        public static java.lang.String subNonAlphaNumeric​(java.lang.String in,
                                                          java.lang.String sub)
        Substitute non alphanumeric characters.
        Parameters:
        in - The input string
        sub - The string to substitute with
        Returns:
        The replaced string
      • apply

        public java.lang.String apply​(java.lang.String in)
        Performs the default string processing on the input string
        Specified by:
        apply in interface ToStringFunction<java.lang.String>
        Parameters:
        in - Input string
        Returns:
        The processed string