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

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

Introduction

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

The text is from its open source code.

Constructor

StringSubstitutor(final Map valueMap)
Creates a new instance and initializes it.
StringSubstitutor(final StringLookup variableResolver)
Creates a new instance and initializes it.

Method

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 CharSequence source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source 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.
Stringreplace(final TextStringBuilder source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
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 StringBuffer source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.