public abstract class SubstitutionHandlerImpl<T> extends Object implements SubstitutionHandler<T>, Interpolating<T>
| Modifier and Type | Field and Description |
|---|---|
protected Substitutor<T> |
substitutor |
| Constructor and Description |
|---|
SubstitutionHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getCaptured(String found) |
protected abstract Pattern |
getPattern() |
void |
handleWith(Substitutor<T> substitutor) |
List<Substitution> |
interpolate(String toInterpolate,
T arg) |
protected Substitutor<T> substitutor
public void handleWith(Substitutor<T> substitutor)
handleWith in interface SubstitutionHandler<T>protected abstract Pattern getPattern()
public List<Substitution> interpolate(String toInterpolate, T arg)
interpolate in interface Interpolating<T>Copyright © 2014. All Rights Reserved.