Class FindAndReplaceService

    • Constructor Detail

      • FindAndReplaceService

        public FindAndReplaceService()

        Creates a new instance.

    • Method Detail

      • getReplaceFirstOnly

        public java.lang.Boolean getReplaceFirstOnly()

        Returns replaceFirstOnly.

        Returns:
        replaceFirstOnly if true only the first instances of the String to replace will be replaced. If false all instances will be replaced.
      • setReplaceFirstOnly

        public void setReplaceFirstOnly​(java.lang.Boolean b)

        Sets replaceFirstOnly.

        Parameters:
        b - if true only the first instances of the String to replace will be replaced. If false all instances will be replaced; default is null (false)
      • getFindAndReplaceUnits

        public java.util.List<FindAndReplaceUnit> getFindAndReplaceUnits()
      • setFindAndReplaceUnits

        public void setFindAndReplaceUnits​(java.util.List<FindAndReplaceUnit> findAndReplaceUnit)