Package org.jline.style
Class InterpolationHelper
java.lang.Object
org.jline.style.InterpolationHelper
Interpolation.
Borrowed and adapted from Apache Felix Utils module.
-
Field Details
-
ESCAPE_CHAR
private static final char ESCAPE_CHAR- See Also:
-
DELIM_START
- See Also:
-
DELIM_STOP
- See Also:
-
MARKER
- See Also:
-
-
Constructor Details
-
InterpolationHelper
private InterpolationHelper()
-
-
Method Details
-
substVars
public static String substVars(String val, Function<String, String> callback, boolean defaultsToEmptyString) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
doSubstVars
private static String doSubstVars(String val, Function<String, String> callback, boolean defaultsToEmptyString) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
unescape
-