Java org.apache.commons.text StrSubstitutor fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.text StrSubstitutor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.text StrSubstitutor.

The text is from its open source code.

Constructor

StrSubstitutor(final Map valueMap)
Creates a new instance and initializes it.
StrSubstitutor(final StrLookup variableResolver)
Creates a new instance and initializes it.

Method

Stringreplace(final String source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
Stringreplace(final char[] source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.
Stringreplace(final StringBuffer source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.
Stringreplace(final CharSequence source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source as a template.
Stringreplace(final StrBuilder source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
Stringreplace(final Object source)
Replaces all the occurrences of variables in the given source object with their matching values from the resolver.