Class SubstPropsHandler.Resub

  • All Implemented Interfaces:
    SubstPropsHandler.Convert
    Enclosing class:
    SubstPropsHandler

    public static class SubstPropsHandler.Resub
    extends java.lang.Object
    implements SubstPropsHandler.Convert
    Do a regexp substitution on a value. This takes the following initialization parameters:
    match
    A Regular expression that matches the string value.
    sub
    The regular expression substitution to perform. All occurances of "match" are substututed.
    • Constructor Summary

      Constructors 
      Constructor Description
      Resub()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean init​(java.lang.String prefix, java.util.Properties p)
      This is called once at creation time to provide this class with configuration information.
      java.lang.String map​(java.lang.String value)
      Map the value.
      • Methods inherited from class java.lang.Object

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

      • Resub

        public Resub()
    • Method Detail

      • init

        public boolean init​(java.lang.String prefix,
                            java.util.Properties p)
        Description copied from interface: SubstPropsHandler.Convert
        This is called once at creation time to provide this class with configuration information. Any configuration parameters required in "p" are prefixed with [prefix].
        Specified by:
        init in interface SubstPropsHandler.Convert