Class RegexStringTransformer

  • All Implemented Interfaces:
    java.util.function.Function<java.lang.String,​java.lang.String>, java.util.function.UnaryOperator<java.lang.String>
    Direct Known Subclasses:
    UuidIdStringTransformer

    public class RegexStringTransformer
    extends java.lang.Object
    implements java.util.function.UnaryOperator<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      RegexStringTransformer​(java.lang.String regex, java.lang.String replacement)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • RegexStringTransformer

        public RegexStringTransformer​(java.lang.String regex,
                                      java.lang.String replacement)
    • Method Detail

      • apply

        public java.lang.String apply​(java.lang.String value)
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.String>