Class StringReplaceOperation

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String m_pattern  
      protected java.lang.String m_replacement  
    • Constructor Summary

      Constructors 
      Constructor Description
      StringReplaceOperation​(java.lang.String spec)
      Constructor for StringReplaceOperation.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPattern()
      getPattern
      java.lang.String getReplacement()
      getReplacement
      abstract java.lang.String replace​(java.lang.String input)
      replace
      java.lang.String toString()
      toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • m_pattern

        protected java.lang.String m_pattern
      • m_replacement

        protected java.lang.String m_replacement
    • Constructor Detail

      • StringReplaceOperation

        public StringReplaceOperation​(java.lang.String spec)

        Constructor for StringReplaceOperation.

        Parameters:
        spec - a String object.
    • Method Detail

      • getPattern

        public java.lang.String getPattern()

        getPattern

        Returns:
        a String object.
      • getReplacement

        public java.lang.String getReplacement()

        getReplacement

        Returns:
        a String object.
      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.
      • replace

        public abstract java.lang.String replace​(java.lang.String input)

        replace

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