Class Replacer


  • public class Replacer
    extends Object
    Replaces values in the line passed to the process method.
    • Constructor Detail

      • Replacer

        public Replacer​(String token,
                        String value)
        Public constructor
        Parameters:
        token - the name of the token to substitute
        value - the value to substitute
    • Method Detail

      • process

        public String process​(String line)
        Perform the substitution
        Parameters:
        line -
        Returns: