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

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

Introduction

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

The text is from its open source code.

Field

charDEFAULT_ESCAPE
Constant for the default escape character.

Constructor

Method

StrLookupgetVariableResolver()
Gets the VariableResolver that is used to lookup variables.
Stringreplace(String source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source string as a template.
Stringreplace(char[] source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source array as a template.
Stringreplace(StringBuffer source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source buffer as a template.
Stringreplace(StrBuilder source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
Stringreplace(Object source)
Replaces all the occurrences of variables in the given source object with their matching values from the resolver.
Stringreplace(Object source, Map valueMap)
Replaces all the occurrences of variables in the given source object with their matching values from the map.
Stringreplace(Object source, Map valueMap, String prefix, String suffix)
Replaces all the occurrences of variables in the given source object with their matching values from the map.
StringreplaceSystemProperties(Object source)
Replaces all the occurrences of variables in the given source object with their matching values from the system properties.
StrSubstitutorsetVariablePrefix(char prefix)
Sets the variable prefix to use.
StrSubstitutorsetVariablePrefix(String prefix)
Sets the variable prefix to use.
voidsetVariableResolver(StrLookup variableResolver)
Sets the VariableResolver that is used to lookup variables.
StrSubstitutorsetVariableSuffix(char suffix)
Sets the variable suffix to use.
StrSubstitutorsetVariableSuffix(String suffix)
Sets the variable suffix to use.