public class StringMacroConverter extends java.lang.Object implements MacroConverter
java.util.Map;
AT_CONVERTER, BATCH_CONVERTER, MAKE_CONVERTER, SHELL_CONVERTER
Modifier and Type | Method and Description |
---|---|
java.lang.String |
expandString(java.lang.String s,
java.util.Map macros)
Expands the macros in a String.
|
static StringMacroConverter |
getConverter(int converterType)
Factory method to obtain an instance of StringMacroConverter.
|
public java.lang.String expandString(java.lang.String s, java.util.Map macros)
String
public static StringMacroConverter getConverter(int converterType)
converterType
- - Type of converter to use. The types are defined
as static constants in the MacroConverter interface.