Lines Matching defs:replacement
426 * sequences with this charset's default replacement string. The {@link
491 * sequences with this charset's default replacement string. The {@link
925 * sequences with this charset's default replacement byte array. The
2082 * given replacement.
2097 * replacement string may cause the results to be different than if it were
2098 * being treated as a literal replacement string; see
2105 * @param replacement
2118 public String replaceFirst(String regex, String replacement) {
2119 return Pattern.compile(regex).matcher(this).replaceFirst(replacement);
2125 * given replacement.
2140 * replacement string may cause the results to be different than if it were
2141 * being treated as a literal replacement string; see
2148 * @param replacement
2161 public String replaceAll(String regex, String replacement) {
2162 return Pattern.compile(regex).matcher(this).replaceAll(replacement);
2167 * sequence with the specified literal replacement sequence. The
2168 * replacement proceeds from the beginning of the string to the end, for
2173 * @param replacement The replacement sequence of char values
2176 * <code>replacement</code> is <code>null</code>.
2179 public String replace(CharSequence target, CharSequence replacement) {
2181 this).replaceAll(Matcher.quoteReplacement(replacement.toString()));