public class StringMacroCombiner extends Object implements MacroCombiner<String>
MacroReplacer<String> that just concatenates the strings and
expanded macros.| Constructor and Description |
|---|
StringMacroCombiner() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String expandedMacro)
Add the expanded form of a macro.
|
void |
addString(String part)
Add a non-macro containing substring.
|
String |
build()
Returns the combined result.
|
public String build()
MacroCombinerbuild in interface MacroCombiner<String>public void addString(String part)
MacroCombineraddString in interface MacroCombiner<String>public void add(String expandedMacro)
MacroCombineradd in interface MacroCombiner<String>