Class StringReplaceOperation

    • Field Detail

      • m_pattern

        protected String m_pattern
      • m_replacement

        protected String m_replacement
    • Constructor Detail

      • StringReplaceOperation

        public StringReplaceOperation​(String spec)

        Constructor for StringReplaceOperation.

        Parameters:
        spec - a String object.
    • Method Detail

      • getPattern

        public String getPattern()

        getPattern

        Returns:
        a String object.
      • getReplacement

        public String getReplacement()

        getReplacement

        Returns:
        a String object.
      • replace

        public abstract String replace​(String input)

        replace

        Parameters:
        input - a String object.
        Returns:
        a String object.