public interface BasicInterpolator
Modifier and Type | Method and Description |
---|---|
String |
interpolate(String input)
|
String |
interpolate(String input,
RecursionInterceptor recursionInterceptor)
|
String interpolate(String input) throws InterpolationException
Interpolator.interpolate(String, String, org.codehaus.plexus.interpolation.RecursionInterceptor)
.
This method triggers the use of a SimpleRecursionInterceptor
instance for protection against expression cycles. It also leaves empty the
expression prefix which would otherwise be trimmed from expressions. The
result is that any detected expression will be resolved as-is.
input
- The input string to interpolateInterpolationException
- in case of an error.String interpolate(String input, RecursionInterceptor recursionInterceptor) throws InterpolationException
Interpolator.interpolate(String, String, org.codehaus.plexus.interpolation.RecursionInterceptor)
.
This method leaves empty the expression prefix which would otherwise be trimmed from expressions. The result is that any detected expression will be resolved as-is.
input
- The input string to interpolaterecursionInterceptor
- Used to protect the interpolation process
from expression cycles, and throw an
exception if one is detected.InterpolationException
- in case of an error.Copyright © 2001–2024 Codehaus Plexus. All rights reserved.