Class Replacer

    • Constructor Detail

      • Replacer

        public Replacer​(@NotNull
                        Pattern pattern,
                        @NotNull
                        String replacement)
    • Method Detail

      • createFrom

        @NotNull
        public String createFrom​(@NotNull
                                 String source)
        Description copied from interface: Converter
        Create another element using given element as source
        Specified by:
        createFrom in interface Converter<String,​String>
        Parameters:
        source - source element
        Returns:
        resulting element, created from source one
      • replaceAll

        public String replaceAll​(@Nullable
                                 String origValue)
      • isChanged

        public boolean isChanged()